titan2400

LinkedList

Jul 25th, 2014
409
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. - LinkedList
  2. - Implementation
  3. - Singly LinkedList -
  4.  
  5. - insert at start
  6. - insert at end
  7. - insert at given index
  8. - delete from start
  9. - delete from end
  10. - delete from given index
  11. - traverse
  12. - size
  13.  
  14. - Doubly LinkedList -
  15.  
  16. - insert at start
  17. - insert at end
  18. - insert at given index
  19. - delete from start
  20. - delete from end
  21. - delete from given index
  22. - traverse
  23. - size
  24.  
  25. - Circular Linked List (Doubly) -
  26.  
  27. - insert at start
  28. - insert at end
  29. - delete from start
  30. - delete from end
  31. - traverse
  32. - size
  33.  
  34. - ***Finding nth node from end in linkedlist
  35. - ***Check whether linkedlist contains loop
  36. - Check whether linkedlist contains cycle, if cycle exists find start node of the loop
  37. - Check whether linkedlist contains cycle, if cycle exists find the length of the loop
  38. - ***Reverse singly linkedlist
  39. - Insert node in sorted linked list
  40. - Given two linkedlists intersecting at some point, find the merging point
  41. - Find middle of linkedlist
  42. - Display linkedlist from end
  43. - Check whether length of linked is odd or even
  44. - Given two sorted linked lists, merge them into third list in sorted order
  45. - ***Reverse linkedlist in pairs
  46. 1->2->3->4->X =====> 2->1->4->3->X
  47. - Given binary tree, convert to doubly linked list
  48. - Split circular linked into two equal parts (for odd length list - one list has extra node)
  49. - ***Reverse blocks of K nodes in a list
  50. - Josephus Problem
  51. - Check whether given linkedlist is a palindrome
  52. - The Great Tree List Recursion Problem
  53. - Link: http://cslibrary.stanford.edu/109/TreeListRecursion.html
  54. - Find union and intersection of two linked lists
  55. - Link: http://www.geeksforgeeks.org/union-and-intersection-of-two-linked-lists/
  56. - Flatten a multilevel linkedlist
  57. - Link: http://www.geeksforgeeks.org/flatten-a-linked-list-with-next-and-child-pointers/
  58. - Flattening a linkedlist
  59. - Link: http://www.geeksforgeeks.org/flattening-a-linked-list/
  60. - Rotate given linked list
  61. - Link: http://www.geeksforgeeks.org/rotate-a-linked-list/
Advertisement
Add Comment
Please, Sign In to add comment