Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 416 Bytes

File metadata and controls

8 lines (6 loc) · 416 Bytes

dynamic-data-structure-linked-list

Create a linked list and reverse linked list

In this project, I created a linked list which is a dynamic data structure that links previous data to the next one. In addition, I also created a code to reverse a linked list based on the node. For example:

If we were given linked list: 1->2->3->4->5

  1. reversed with node 1: 5->4->3->2->1
  2. reversed with node 2: 2->1->4->3->5