1.1 Data Structures and AlgorithmshistoricalData structures and algorithms overview.
Data Structures & Algorithms
2.1 arrayhistoricalDynamic array implementation and two-pointer patterns.
Data Structures & Algorithms
2.2 hashmaphistoricalMap implementations using a binary search tree and a hash table.
Data Structures & Algorithms
2.3 linkedlisthistoricalSingly linked list, doubly linked list, circular doubly linked list, and problem-solving patterns.
Data Structures & Algorithms
2.4 queuehistoricalQueue, circular queue, priority queue, and deque.
Data Structures & Algorithms
2.5 sethistoricalAn unordered set without duplicate elements.
Data Structures & Algorithms
2.6 stackhistoricalA last-in-first-out stack.
Data Structures & Algorithms
2.7 treehistoricalBinary trees, BST, AVL tree, Trie, and Huffman tree.
Data Structures & Algorithms
2.8 Red-Black TreehistoricalRed-black tree properties, 2-3 trees, and implementation.
Data Structures & Algorithms
2.9 Skip ListhistoricalSkip-list basics, motivation, implementation, and expected complexity.
Data Structures & Algorithms
2.10 heaphistoricalHeap properties, max heap implementation, and min heap notes.
Data Structures & Algorithms
2.11 BitMaphistoricalBitMap basics, example, and why it saves space.
Data Structures & Algorithms
2.12 BloomFilterhistoricalWhy BloomFilter is needed, how it works, use cases, and a Go implementation.
Data Structures & Algorithms
2.13 graphhistoricalGraph basics, representations, traversal, and implementations.
Data Structures & Algorithms
2.14 UnionFindhistoricalUnion-Find, Quick Find, Quick Union, and optimizations.
Data Structures & Algorithms
2.15 LSMhistoricalLSM basics, SSTables, operations, and comparison with B-trees.
Data Structures & Algorithms
Longest Common SubstringhistoricalLeetCode notes on the Longest Common Substring problem.
Data Structures & Algorithms
2.16 ziplisthistoricalziplist and why it saves memory.
Data Structures & Algorithms
Longest Common SubsequencehistoricalLeetCode notes on the Longest Common Subsequence problem.
Data Structures & Algorithms
2.17 B TreehistoricalB Tree, why it is used, and its relationship with B+ Tree.
Data Structures & Algorithms
Longest Substring Without Repeating CharactershistoricalLeetCode notes on the longest substring without repeating characters.
Data Structures & Algorithms
2.18 Sparse IndexhistoricalSparse indexes and comparison with dense indexes.
Data Structures & Algorithms
2.19 IndexhistoricalWhat an index is, index types, implementations, and selection considerations.
Data Structures & Algorithms
2.20 Inverted IndexhistoricalForward index and inverted index.
Data Structures & Algorithms
3.1 Cache Replacement PolicieshistoricalFIFO, LRU, LFU, and related cache replacement policies.
Data Structures & Algorithms
3.2 Dynamic ProgramminghistoricalDynamic programming steps and a path-counting example.
Data Structures & Algorithms
3.3 GreedyhistoricalGreedy choices with loading, coin change, and 0-1 knapsack examples.
Data Structures & Algorithms
3.4 Divide and ConquerhistoricalDivide a problem into smaller subproblems, solve them, and derive the original solution.
Data Structures & Algorithms
3.5 RecursionhistoricalRecursion, its call process, basic ideas, examples, conversion to iteration, and tail recursion.
Data Structures & Algorithms
Edit DistancehistoricalLeetCode notes on the Edit Distance problem.
Data Structures & Algorithms
3.6 BacktrackinghistoricalBacktracking and the Eight Queens problem.
Data Structures & Algorithms
3.7 DFShistoricalDepth-first search with permutation and combination examples.
Data Structures & Algorithms
3.8 Binary SearchhistoricalBinary search, variants, and common templates.
Data Structures & Algorithms
3.9 Bubble SorthistoricalBubble sort, its characteristics, implementation, and optimization.
Data Structures & Algorithms
3.10 Linear SearchhistoricalLinear search and its implementation.
Data Structures & Algorithms
3.11 Heap SorthistoricalHeap sort using heap construction and repeated deletion.
Data Structures & Algorithms
Next PermutationhistoricalLeetCode notes on the Next Permutation problem.
Data Structures & Algorithms
3.12 Merge SorthistoricalMerge sort, its characteristics, process, and implementation.
Data Structures & Algorithms
PermutationshistoricalLeetCode notes on the Permutations problem.
Data Structures & Algorithms
3.13 Insertion SorthistoricalInsertion sort, its characteristics, process, and implementation.
Data Structures & Algorithms
SubsetshistoricalLeetCode notes on the Subsets problem.
Data Structures & Algorithms
3.14 Quick SorthistoricalQuick sort, its characteristics, partitions, and implementations.
Data Structures & Algorithms
Unique PathshistoricalLeetCode notes on the Unique Paths problem.
Data Structures & Algorithms
3.15 Selection SorthistoricalSelection sort, its characteristics, process, and implementation.
Data Structures & Algorithms
Number of IslandshistoricalLeetCode notes on the Number of Islands problem.
Data Structures & Algorithms
3.16 SortinghistoricalCommon sorting algorithms and a complexity comparison.
Data Structures & Algorithms
4.1 Compare-and-Swap (CAS)historicalThe basic CAS semantics, use cases, ABA problem, and CPU atomic-instruction implementation.
Data Structures & Algorithms
Maximal SquarehistoricalLeetCode notes on the Maximal Square problem.
Data Structures & Algorithms
4.2 Lock-Free QueuehistoricalA historical CAS-based lock-free queue implementation note and its safe-memory-reclamation boundary.
Data Structures & Algorithms
Course SchedulehistoricalCourse Schedule problem using DFS and BFS topological sorting.
Data Structures & Algorithms
Partition Equal Subset SumhistoricalLeetCode notes on the Partition Equal Subset Sum problem.
Data Structures & Algorithms
Word BreakhistoricalWord Break using DFS and DFS with memoization.
Data Structures & Algorithms
Perfect SquareshistoricalLeetCode notes on the Perfect Squares problem.
Data Structures & Algorithms
Word SearchhistoricalWord search in a two-dimensional grid using DFS.
Data Structures & Algorithms
Target SumhistoricalLeetCode notes on the Target Sum problem.
Data Structures & Algorithms
Longest Common SubstringhistoricalA note for the longest common substring problem.
Data Structures & Algorithms
Combination SumhistoricalLeetCode notes on the Combination Sum problem.
Data Structures & Algorithms
Design an LRU CachehistoricalDesign an LRU cache with a map and a doubly linked list, with Go and Java implementations.
Data Structures & Algorithms
Coin ChangehistoricalLeetCode notes on the Coin Change problem.
Data Structures & Algorithms
Longest Common SubsequencehistoricalLongest common subsequence using recursion, DFS with memoization, and dynamic programming.
Data Structures & Algorithms
Burst BalloonshistoricalLeetCode notes on the Burst Balloons problem.
Data Structures & Algorithms
Letter Combinations of a Phone NumberhistoricalLetter combinations of a phone number using DFS to enumerate combinations.
Data Structures & Algorithms
House RobberhistoricalLeetCode notes on the House Robber problem.
Data Structures & Algorithms
Edit DistancehistoricalEdit distance using recursion and recursion with memoization.
Data Structures & Algorithms
Best Time to Buy and Sell Stock with CooldownhistoricalLeetCode notes on the Best Time to Buy and Sell Stock with Cooldown problem.
Data Structures & Algorithms
Group AnagramshistoricalGroup anagrams using a brute-force method and hashing.
Data Structures & Algorithms
Minimum Path SumhistoricalLeetCode notes on the Minimum Path Sum problem.
Data Structures & Algorithms
Find All Anagrams in a StringhistoricalFind all anagrams in a string using brute force and a sliding window with counts.
Data Structures & Algorithms
Longest Increasing SubsequencehistoricalLeetCode notes on the Longest Increasing Subsequence problem.
Data Structures & Algorithms
Longest Common PrefixhistoricalLongest common prefix using a brute-force approach, with a trie idea noted.
Data Structures & Algorithms
Jump GamehistoricalLeetCode notes on the Jump Game problem.
Data Structures & Algorithms
Maximum Product SubarrayhistoricalLeetCode notes on the Maximum Product Subarray problem.
Data Structures & Algorithms
Check PalindromehistoricalCheck whether a string is a palindrome using reversal and two pointers.
Data Structures & Algorithms
Maximum SubarrayhistoricalLeetCode notes on the Maximum Subarray problem.
Data Structures & Algorithms
Reverse StringhistoricalA Go implementation for reversing a string.
Data Structures & Algorithms
First Missing PositivehistoricalLeetCode notes on the First Missing Positive problem.
Data Structures & Algorithms
Palindromic SubstringshistoricalCount palindromic substrings using brute force and center expansion.
Data Structures & Algorithms
3SumhistoricalLeetCode notes on the 3Sum problem.
Data Structures & Algorithms
Find the Duplicate NumberhistoricalLeetCode notes on the Find the Duplicate Number problem.
Data Structures & Algorithms
Longest Palindromic SubstringhistoricalLongest palindromic substring using brute force and center expansion.
Data Structures & Algorithms
Two SumhistoricalLeetCode notes on the Two Sum problem.
Data Structures & Algorithms
Find All Numbers Disappeared in an ArrayhistoricalLeetCode notes on finding all disappeared numbers in an array.
Data Structures & Algorithms
Big Number AdditionhistoricalAdd large numbers represented as strings by scanning from right to left and carrying.
Data Structures & Algorithms
Subarray Sum Equals KhistoricalLeetCode notes on the Subarray Sum Equals K problem.
Data Structures & Algorithms
Longest Consecutive SequencehistoricalLeetCode notes on the Longest Consecutive Sequence problem.
Data Structures & Algorithms
Decode StringhistoricalDecode strings in k[encoded_string] form using a stack.
Data Structures & Algorithms
Longest Valid ParentheseshistoricalUse a stack to mark matched parentheses, then count the longest consecutive valid interval.
Data Structures & Algorithms
Remove Invalid ParentheseshistoricalEnumerate whether to keep or remove each character, then keep the longest valid-parentheses results.
Data Structures & Algorithms
Generate ParentheseshistoricalGenerate parentheses using full enumeration with a stack, and pruning based on remaining left/right parentheses.
Data Structures & Algorithms
Valid ParentheseshistoricalValidate a parentheses sequence using a stack or repeated string replacement.
Data Structures & Algorithms
Regular Expression MatchinghistoricalRegular expression matching with support for . and *.
Data Structures & Algorithms
Binary Search Upper BoundhistoricalLeetCode notes on binary-search upper bound.
Data Structures & Algorithms
Longest Substring Without Repeating CharactershistoricalFind the longest substring without repetition using a brute-force set approach and a sliding window.
Data Structures & Algorithms
Find First and Last Position of Element in Sorted ArrayhistoricalLeetCode notes on finding the first and last position of an element in a sorted array.
Data Structures & Algorithms
Evaluate DivisionhistoricalUse weighted union-find to evaluate division relationships between variables.
Data Structures & Algorithms
Counting BitshistoricalCount the number of 1 bits in every integer from 0 through num.
Data Structures & Algorithms
Hamming DistancehistoricalCompute the Hamming distance between two integers using bitwise operations.
Data Structures & Algorithms
Binary Search Upper BoundhistoricalLeetCode notes on binary-search upper bound.
Data Structures & Algorithms
Reverse IntegerhistoricalReverse the decimal digits of a 32-bit signed integer and handle overflow.
Data Structures & Algorithms
Find First and Last Position of Element in Sorted ArrayhistoricalLeetCode notes on finding the first and last position of an element in a sorted array.
Data Structures & Algorithms
Climbing StairshistoricalCount the ways to climb stairs using a Fibonacci recurrence.
Data Structures & Algorithms
Search in Rotated Sorted ArrayhistoricalLeetCode notes on searching in a rotated sorted array.
Data Structures & Algorithms
Search in Rotated Sorted ArrayhistoricalLeetCode notes on searching in a rotated sorted array.
Data Structures & Algorithms
Merge Two Sorted ArrayshistoricalMerge two sorted integer arrays into one sorted array.
Data Structures & Algorithms
Find Peak ElementhistoricalLeetCode notes on the Find Peak Element problem.
Data Structures & Algorithms
Find the K-th LargesthistoricalFind the K-th largest element in an array using sorting or quicksort partitioning.
Data Structures & Algorithms
Binary SearchhistoricalUse binary search to find a target value in a sorted ascending integer array.
Data Structures & Algorithms
Find Minimum in Rotated Sorted ArrayhistoricalLeetCode notes on finding the minimum in a rotated sorted array.
Data Structures & Algorithms
Square RoothistoricalLeetCode notes on computing an integer square root.
Data Structures & Algorithms
Spiral MatrixhistoricalTraverse a matrix in clockwise spiral order.
Data Structures & Algorithms
Find Smallest Letter Greater Than TargethistoricalFind the smallest letter greater than the target in a cyclically ordered character list.
Data Structures & Algorithms
Trapping Rain WaterhistoricalLeetCode notes on the Trapping Rain Water problem.
Data Structures & Algorithms
Container With Most WaterhistoricalLeetCode notes on the Container With Most Water problem.
Data Structures & Algorithms
Queue Reconstruction by HeighthistoricalSort first and then insert by position to reconstruct a queue described by height and preceding-person counts.
Data Structures & Algorithms
Largest NumberhistoricalRearrange non-negative integers so their concatenation forms the largest integer.
Data Structures & Algorithms
String PermutationshistoricalGenerate all string permutations using recursive backtracking, deduplicate them, and sort them lexicographically.
Data Structures & Algorithms
Top K Frequent ElementshistoricalFind the top K frequent elements using frequency counting with sorting or a min-heap.
Data Structures & Algorithms
Majority ElementhistoricalFind the majority element using a counting map or candidate cancellation.
Data Structures & Algorithms
Single NumberhistoricalFind the element that appears only once using counting or XOR.
Data Structures & Algorithms
Move ZeroeshistoricalMove all zeroes to the end of the array while preserving the relative order of non-zero elements.
Data Structures & Algorithms
Product of Array Except SelfhistoricalCompute the product of array elements except self using left and right product arrays.
Data Structures & Algorithms
Sort ColorshistoricalSort 0, 1, and 2 in place using quicksort, bucket sort, or the move-zeroes idea.
Data Structures & Algorithms
Search a 2D MatrixhistoricalSearch a matrix whose rows and columns are both sorted, starting from the top-right corner.
Data Structures & Algorithms
Jump FloorhistoricalUse the Fibonacci recurrence to calculate the number of ways a frog can climb the stairs.
Data Structures & Algorithms
Jump Floor IIhistoricalDerive the number of ways to climb stairs when each jump may cover any number of steps using a recurrence and a pattern.
Data Structures & Algorithms
Fibonacci SequencehistoricalRecord three implementations of the Fibonacci sequence: recursion, memoization, and dynamic programming.
Data Structures & Algorithms
Number of 1 BitshistoricalCount the number of 1 bits in a 32-bit binary representation by shifting through each bit.
Data Structures & Algorithms
Integer Power of a NumberhistoricalCalculate a floating-point number raised to an integer power using repeated multiplication, including negative exponents.
Data Structures & Algorithms
Number of Digit 1 OccurrenceshistoricalEnumerate integers and use modulo operations to count occurrences of digit 1 in decimal representations from 1 to n.
Data Structures & Algorithms
Maximum Product SubarrayhistoricalLeetCode notes on the Maximum Product Subarray problem.
Data Structures & Algorithms
First Non-Repeating Character in a Character StreamhistoricalUse a map to count character occurrences while preserving input order to find the first character that appears only once in a stream.
Data Structures & Algorithms
Subarray Sum Equals KhistoricalLeetCode notes on the brute-force solution for Subarray Sum Equals K.
Data Structures & Algorithms
Left Rotate StringhistoricalRecord two implementations of cyclic left rotation of a string: slicing and concatenation, and three reversals.
Data Structures & Algorithms
Maximal SquarehistoricalLeetCode notes on the brute-force solution for Maximal Square.
Data Structures & Algorithms
Poker StraighthistoricalSort five cards, treat jokers as 0, and use the gaps between non-zero cards to determine whether they can form a straight.
Data Structures & Algorithms
Daily TemperatureshistoricalLeetCode notes on the brute-force solution for Daily Temperatures.
Data Structures & Algorithms
Replace SpaceshistoricalRecord two implementations for replacing spaces with %20: character-by-character concatenation and preallocated storage.
Data Structures & Algorithms
Daily TemperatureshistoricalLeetCode notes on Daily Temperatures with brute force and a monotonic stack.
Data Structures & Algorithms
Print Linked List from Tail to HeadhistoricalRecord recursive and stack-based methods for outputting a linked list from tail to head.
Data Structures & Algorithms
Sliding Window MaximumhistoricalLeetCode notes on Sliding Window Maximum using brute force, a priority queue, and a monotonic deque.
Data Structures & Algorithms
Reverse Linked ListhistoricalRecord stack-based and three-pointer implementations for reversing a singly linked list.
Data Structures & Algorithms
Merge IntervalshistoricalLeetCode notes on merging overlapping intervals.
Data Structures & Algorithms
Min StackhistoricalLeetCode notes on implementing a stack that retrieves the minimum element in constant time.
Data Structures & Algorithms
Merge Two Sorted Linked ListshistoricalRecord iterative and recursive implementations for merging two sorted linked lists.
Data Structures & Algorithms
Sort an ArrayhistoricalLeetCode notes on sorting an array with merge sort and quicksort.
Data Structures & Algorithms
K-th Node from the End of a Linked ListhistoricalRecord array, length-conversion, and fast-slow-pointer methods for finding the k-th node from the end.
Data Structures & Algorithms
Median of Two Sorted ArrayshistoricalLeetCode notes on finding the median of two sorted arrays by merging them.
Data Structures & Algorithms
Jump GamehistoricalLeetCode notes on the Jump Game problem.
Data Structures & Algorithms
Copy Complex Linked ListhistoricalRecord the method of copying a complex linked list by inserting copied nodes after the original nodes.
Data Structures & Algorithms
Shortest Unsorted Continuous SubarrayhistoricalLeetCode notes on finding the shortest continuous subarray that must be sorted.
Data Structures & Algorithms
Entry Node of a Loop in a Linked ListhistoricalRecord set-based and fast/slow-pointer methods for finding the entry node of a linked-list cycle.
Data Structures & Algorithms
Best Time to Buy and Sell StockhistoricalLeetCode notes on maximizing profit from one stock transaction.
Data Structures & Algorithms
First Common Node of Two Linked ListshistoricalRecord a two-pointer method that uses the length difference to find the first common node of two linked lists.
Data Structures & Algorithms
Rotate ImagehistoricalLeetCode notes on rotating an n x n matrix 90 degrees clockwise.
Data Structures & Algorithms
Delete Duplicate Nodes in a Linked ListhistoricalRecord counting- and set-based methods for deleting all duplicate nodes from a sorted linked list.
Data Structures & Algorithms
Implement Trie (Prefix Tree)historicalLeetCode notes on implementing a Trie prefix tree.
Data Structures & Algorithms
Postorder Traversal Sequence of a Binary Search TreehistoricalRecord a recursive method for determining whether a sequence is the postorder traversal result of a binary search tree.
Data Structures & Algorithms
Unique Binary Search TreeshistoricalLeetCode notes on counting unique binary search trees with DFS, memoization, and dynamic programming.
Data Structures & Algorithms
Next Node in a Binary TreehistoricalRecord methods for finding the inorder successor of a binary-tree node through a full inorder traversal or parent-pointer relationships.
Data Structures & Algorithms
Binary Tree Inorder TraversalhistoricalLeetCode notes on binary tree inorder traversal with recursion and color marking.
Data Structures & Algorithms
Binary Search Tree and Doubly Linked ListhistoricalRecord inorder-traversal and recursive methods for converting a binary search tree into a sorted doubly linked list.
Data Structures & Algorithms
Construct Binary Tree from Preorder and Inorder TraversalhistoricalLeetCode notes on reconstructing a binary tree from preorder and inorder traversals.
Data Structures & Algorithms
Kth Node in a Binary Search TreehistoricalRecord inorder-traversal methods for finding the kth smallest node in a binary search tree, plus reverse inorder traversal for the kth largest node.
Data Structures & Algorithms
Binary Tree Preorder, Inorder, and Postorder TraversalhistoricalNotes on implementing preorder, inorder, and postorder traversal of a binary tree.
Data Structures & Algorithms
Depth of a Binary TreehistoricalRecord a recursive method for computing binary-tree depth by taking the greater depth of the left and right subtrees.
Data Structures & Algorithms
Convert BST to Greater TreehistoricalLeetCode notes on converting a binary search tree to a Greater Sum Tree.
Data Structures & Algorithms
Print a Binary Tree from Top to BottomhistoricalRecord queue-based level-order traversal for printing binary-tree nodes from top to bottom.
Data Structures & Algorithms
Validate Binary Search TreehistoricalLeetCode notes on validating a binary search tree with inorder traversal.
Data Structures & Algorithms
Symmetric Binary TreehistoricalRecord a recursive method for determining whether a binary tree is symmetric by comparing mirrored positions in its left and right subtrees.
Data Structures & Algorithms
Flatten Binary Tree to Linked ListhistoricalLeetCode notes on flattening a binary tree into a linked list in preorder.
Data Structures & Algorithms
Balanced Binary TreehistoricalRecord a method for determining whether a binary tree is balanced by comparing subtree heights and recursively checking both subtrees.
Data Structures & Algorithms
Lowest Common Ancestor of a Binary TreehistoricalLeetCode notes on finding the lowest common ancestor in a binary tree.
Data Structures & Algorithms
Mirror of a Binary TreehistoricalRecord recursive, stack-based, and queue-based methods for generating the mirror of a binary tree by swapping left and right subtrees.
Data Structures & Algorithms
Diameter of Binary TreehistoricalLeetCode notes on calculating the diameter of a binary tree.
Data Structures & Algorithms
Print a Binary Tree in Multiple LineshistoricalRecord a queue-based method that uses end-of-line pointers to print a binary tree level by level, one line per level.
Data Structures & Algorithms
Lowest Common Ancestor NodehistoricalNotes on finding the lowest common ancestor of two nodes in a binary tree.
Data Structures & Algorithms
Print a Binary Tree in Zigzag OrderhistoricalRecord a zigzag traversal method by reversing alternating rows after level-order traversal.
Data Structures & Algorithms
Merge Two Binary TreeshistoricalLeetCode notes on merging two binary trees.
Data Structures & Algorithms
Substructure of a TreehistoricalRecord a preorder-recursive matching method for determining whether one binary tree is a substructure of another.
Data Structures & Algorithms
Symmetric TreehistoricalLeetCode notes on checking whether a binary tree is mirror-symmetric.
Data Structures & Algorithms
Reconstruct Binary TreehistoricalRecord the recursive method for reconstructing a binary tree from preorder and inorder traversal results.
Data Structures & Algorithms
House Robber IIIhistoricalLeetCode notes on House Robber III using DFS and memoization.
Data Structures & Algorithms
Paths in a Binary Tree With a Given SumhistoricalRecord the depth-first, preorder traversal, and backtracking method for finding binary-tree paths with a given sum.
Data Structures & Algorithms
Sum Root to Leaf NumbershistoricalLeetCode notes on summing all numbers formed by root-to-leaf paths.
Data Structures & Algorithms
Serialize a Binary TreehistoricalRecord methods for serializing and deserializing a binary tree using preorder traversal and a preorder-plus-inorder traversal combination.
Data Structures & Algorithms
Invert Binary TreehistoricalLeetCode notes on Invert Binary Tree.
Data Structures & Algorithms
Convert a String to an IntegerhistoricalRecord character parsing and atoi implementations for converting a string to an integer.
Data Structures & Algorithms
Path Sum IIIhistoricalLeetCode notes on Path Sum III.
Data Structures & Algorithms
Reverse Word OrderhistoricalRecord methods for reversing word order by splitting the string and by reversing twice.
Data Structures & Algorithms
Maximum Depth of Binary TreehistoricalLeetCode notes on Maximum Depth of Binary Tree.
Data Structures & Algorithms
Stack with a min FunctionhistoricalRecord using an auxiliary minimum stack to retrieve the stack minimum in O(1) time.
Data Structures & Algorithms
Binary Tree Maximum Path SumhistoricalLeetCode notes on Binary Tree Maximum Path Sum.
Data Structures & Algorithms
Stack Push and Pop SequenceshistoricalRecord methods that use an auxiliary stack to determine whether a given sequence is a valid pop sequence.
Data Structures & Algorithms
Binary Tree Right Side ViewhistoricalLeetCode notes on Binary Tree Right Side View.
Data Structures & Algorithms
Implement a Queue with Two StackshistoricalRecord how to implement queue Push, Pop, Peek, and Empty operations using two stacks.
Data Structures & Algorithms
Binary Tree Level Order TraversalhistoricalLeetCode notes on Binary Tree Level Order Traversal.
Data Structures & Algorithms
Search in a 2D ArrayhistoricalMirror translation of the original Sword Offer note: Search in a 2D Array.
Data Structures & Algorithms
Serialize and Deserialize Binary TreehistoricalLeetCode notes on Serialize and Deserialize Binary Tree.
Data Structures & Algorithms
Two Numbers with Sum ShistoricalMirror translation of the original Sword Offer note: Two Numbers with Sum S.
Data Structures & Algorithms
Binary Tree Zigzag Level Order TraversalhistoricalLeetCode notes on Binary Tree Zigzag Level Order Traversal.
Data Structures & Algorithms
Continuous Positive Sequences with Sum ShistoricalMirror translation of the original Sword Offer note: Continuous Positive Sequences with Sum S.
Data Structures & Algorithms
Swap Nodes in PairshistoricalLeetCode notes on Swap Nodes in Pairs.
Data Structures & Algorithms
Last Remaining Number in a CirclehistoricalMirror translation of the original Sword Offer note: Last Remaining Number in a Circle.
Data Structures & Algorithms
Reverse Linked List IIhistoricalLeetCode notes on Reverse Linked List II.
Data Structures & Algorithms
Arrange an Array into the Smallest NumberhistoricalMirror translation of the original Sword Offer note: Arrange an Array into the Smallest Number.
Data Structures & Algorithms
Reverse Linked ListhistoricalLeetCode notes on Reverse Linked List.
Data Structures & Algorithms
Count Occurrences in a Sorted ArrayhistoricalMirror translation of the original Sword Offer note: Count Occurrences in a Sorted Array.
Data Structures & Algorithms
Reverse Nodes in k-GrouphistoricalLeetCode notes on Reverse Nodes in k-Group.
Data Structures & Algorithms
Number Appearing More Than Half the TimehistoricalMirror translation of the original Sword Offer note: Number Appearing More Than Half the Time.
Data Structures & Algorithms
Add Two NumbershistoricalLeetCode notes on Add Two Numbers.
Data Structures & Algorithms
Numbers Appearing Only OncehistoricalMirror translation of the original Sword Offer note: Numbers Appearing Only Once.
Data Structures & Algorithms
Remove Duplicates from Sorted List IIhistoricalLeetCode notes on Remove Duplicates from Sorted List II.
Data Structures & Algorithms
Inverse Pairs in an ArrayhistoricalMirror translation of the original Sword Offer note: Inverse Pairs in an Array.
Data Structures & Algorithms
Remove Duplicates from Sorted ListhistoricalLeetCode notes on Remove Duplicates from Sorted List.
Data Structures & Algorithms
Duplicate Number in an ArrayhistoricalMirror translation of the original Sword Offer note: Duplicate Number in an Array.
Data Structures & Algorithms
Remove Nth Node From End of ListhistoricalLeetCode notes on Remove Nth Node From End of List.
Data Structures & Algorithms
Minimum Number in a Rotated ArrayhistoricalMirror translation of the original Sword Offer note: Minimum Number in a Rotated Array.
Data Structures & Algorithms
Palindrome Linked ListhistoricalLeetCode notes on Palindrome Linked List.
Data Structures & Algorithms
Smallest K NumbershistoricalMirror translation of the original Sword Offer note: Smallest K Numbers.
Data Structures & Algorithms
Palindrome Linked ListhistoricalLeetCode notes on Palindrome Linked List.
Data Structures & Algorithms
Robot Movement RangehistoricalMirror translation of the original Sword Offer note: Robot Movement Range.
Data Structures & Algorithms
Linked List CyclehistoricalLeetCode notes on Linked List Cycle.
Data Structures & Algorithms
Maximum in Sliding WindowshistoricalMirror translation of the original Sword Offer note: Maximum in Sliding Windows.
Data Structures & Algorithms
Linked List Cycle IIhistoricalLeetCode notes on Linked List Cycle II.
Data Structures & Algorithms
Reorder Array with Odd Numbers Before Even NumbershistoricalMirror translation of the original Sword Offer note: Reorder Array with Odd Numbers Before Even Numbers.
Data Structures & Algorithms
Rotate ListhistoricalLeetCode notes on Rotate List.
Data Structures & Algorithms
Maximum Sum of a Contiguous SubarrayhistoricalMirror translation of the original Sword Offer note: Maximum Sum of a Contiguous Subarray.
Data Structures & Algorithms
Linked List CyclehistoricalLeetCode notes on Linked List Cycle.
Data Structures & Algorithms
Linked List Cycle IIhistoricalLeetCode notes on Linked List Cycle II.
Data Structures & Algorithms
Intersection of Two Linked ListshistoricalLeetCode notes on Intersection of Two Linked Lists.
Data Structures & Algorithms
Reorder ListhistoricalLeetCode notes on Reorder List.
Data Structures & Algorithms
Partition ListhistoricalLeetCode notes on Partition List.
Data Structures & Algorithms
Merge k Sorted ListshistoricalLeetCode notes on Merge k Sorted Lists.
Data Structures & Algorithms
Merge Two Sorted ListshistoricalLeetCode notes on Merge Two Sorted Lists.
Data Structures & Algorithms
Odd Even Linked ListhistoricalLeetCode notes on Odd Even Linked List.
Data Structures & Algorithms
Sort ListhistoricalLeetCode notes on Sort List.
Data Structures & Algorithms
Intersection of Two Linked ListshistoricalLeetCode notes on Intersection of Two Linked Lists.
Data Structures & Algorithms