In this video, We will LinkedList Data Structures and Algorithms Tutorial Example Explained


  // *******************************************************
  // LinkedList =  Nodes are in 2 parts (data + address)
  //                        Nodes are in non-consecutive memory locations
  //                        Elements are linked using pointers
            
  //    advantages?
  //    1. Dynamic Data Structure (allocates needed memory while running)
  //    2. Insertion and Deletion of Nodes is easy. O(1) 
  //    3. No/Low memory waste
  
  //    disadvantages?
  //    1. Greater memory usage (additional pointer)
  //    2. No random access of elements (no index [i])
  //    3. Accessing/searching elements is more time consuming. O(n)
  
  //    uses?
  //    1. implement Stacks/Queues
  //    2. GPS navigation
  //    3. music playlist
  // *******************************************************


Subscribe: https://www.youtube.com/channel/UC4SVo0Ue36XCfOyb5Lh1viQ/featured

#data-science #data-analysis #algorithms

LinkedList Data Structures and Algorithms Tutorial Example Explained
1.75 GEEK