Sebgg

l2y6

Nov 13th, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Node* find_last(Node* n)
  2. {
  3.   Node* last{n};
  4.   if(last->next != nullptr)
  5.   {
  6.     return find_last(last->next);
  7.   }
  8.   return last;
  9. }
Add Comment
Please, Sign In to add comment