/explore
|
You are here |
ugross.dev | ||
| | | | |
mishadoff.com
|
|
| | | | | ||
| | | | |
blog.nuculabs.de
Introduction A linked list is a fundamental data structure which consists of Nodes that are connected to each other. Other variations are: Double linked list Circular linked list (circular buffer) The Singly Linked List To visualize the data structure, if you want to store two integers 10 and 20 you will have a 2 node linked list that will have: [Node 1, Value 10] -> [Node 2, Value: 20] -> [null] |
|
| | | | | ||
| | | | |
miparnisariblog.wordpress.com
PatternDescriptionExample usagesWorks onTwo pointersIterate over an array or multiple arrays to achieve some goal, faster than O(n^2)Finding palindromes, merging two arrays, subsequences in stringsUnsorted arrays, sorted arrays, stringsSliding windowFind a subarray that satisfies some numerical constraint. (If the constraint involves counting, use a hashmap).Add elements from the right until the constraint is broken, then remove... |
|
| | | | | ||
| | | | |
www.paulgraham.com
|
|
| | | |||