Guest User

Untitled

a guest
Feb 20th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. class LinkedListNode {
  2. int x;
  3. LinkedListNode next;
  4. }
  5.  
  6. private Node append(Node H, int t){
  7. if (H == null) {
  8. H = new Node(x);
  9. }
  10. else {
  11. H.next = append(H.next, t);
  12. }
  13. return H;
  14. }
Add Comment
Please, Sign In to add comment