Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static int promeni_lista(SLLNode<Integer> d1) {
- if (d1 == null) {
- return 0;
- } else {
- return 1 + promeni_lista(d1.succ);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement