SNo | Name | Logic Used | Link |
---|---|---|---|
1 | Detect cycle in Linkedlist | floyd cycle detection | view |
2 | Detect starting point of cycle | fast and slow pointers | view |
3 | Check Palindrome | reverse from middle and check | view |
4 | Intersection in Y shaped List | cross traversal | view |
5 | Reverse in groups of K | addFirst, original, temp pointers | view |
6 | Flattening of List | merge 2 sorted lists, recursion | view |
7 | Rotate List | connect loop and find break point | view |
Day-06_LinkedList
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||