Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static <T> Node hapusNode_Akhir(Node<T> front) {
- Node temp = front;
- if (temp != null) {
- while (temp.next.next != null) {
- temp = temp.next;
- }
- temp.next = null;
- }
- return front;
- }
Advertisement
Add Comment
Please, Sign In to add comment