Linked List Revision in JAVA
May 23, 2023 · 2 min read · Today we go through the basics of linked lists in Java. Firstly we learn about how an element is added to the first position as head: Steps: S-1: Create a new Node. S-2: Check if the head is equal to null, if null then make tail equals head equals ne...
Join discussion