leetcode/data_structures/linked_list

linked_list

dz / leetcode / data_structures / linked_list

Node Tree

Nodes

fast_slow_pointer
content Fast/Slow Pointer: a common technique in linked lists where two pointers are used to traverse through linked list at two different speeds, one usually 2x faster. This can be used for things like cycle detection,
children leetcode/problems/2130_max_twin_sum_linked_list (one solution involved going to middle of list, then,reversing the second half), leetcode/problems/141_linked_list_cycle (One solution involves using floyds algorithm using fast/slow pointers), leetcode/problems/2095_delete_middle_node
parents leetcode/references/floyds_algorithm
location knowledge/leetcode/leetcode.dz:775

2024-12-10 08:57 fast/slow pointer added to linked paradigm

I didn't want to keep referencing <<leetcode/references/floyds_algorithm>> for things unrelated to cycle detection, so I made this subnode.