├── README.md ├── binarysearch ├── .cpp.md ├── .py.md ├── 0-1-Knapsack │ └── 0-1-Knapsack.py ├── 123-Number-Flip │ └── 123-Number-Flip.py ├── 3-and-7 │ └── 3-and-7.py ├── A-Flight-of-Stairs │ └── A-Flight-of-Stairs.py ├── A-Number-and-Its-Triple │ └── A-Number-and-Its-Triple.cpp ├── A-Strictly-Increasing-Linked-List │ └── A-Strictly-Increasing-Linked-List.py ├── A-unique-string │ └── A-unique-string.cpp ├── ARRAY.md ├── ASCII-String-to-Integer │ └── ASCII-String-to-Integer.cpp ├── Acronym │ └── Acronym.cpp ├── Add-Linked-Lists │ └── Add-Linked-Lists.py ├── All-Sublists-Sum │ └── All-Sublists-Sum.cpp ├── Almost-Same-Strings │ └── Almost-Same-Strings.py ├── Anagram-Substrings │ └── Anagram-Substrings.py ├── Arithmetic-Sequence-Permutation │ └── Arithmetic-Sequence-Permutation.py ├── Arithmetic-Sequences │ └── Arithmetic-Sequences.cpp ├── As-Before-Bs │ └── As-Before-Bs.cpp ├── Atbash-Cipher │ └── Atbash-Cipher.cpp ├── BFS.md ├── BINARY SEARCH.md ├── BIT.md ├── BST.md ├── Back-to-Front-Linked-List │ └── Back-to-Front-Linked-List.cpp ├── Base-3-to-Integer │ └── Base-3-to-Integer.cpp ├── Beer-Bottles │ └── Beer-Bottles.py ├── Big-Numbers │ └── Big-Numbers.cpp ├── Binary-Matrix-Leftmost-One │ └── Binary-Matrix-Leftmost-One.py ├── Binary-Search-Tree-Validation │ └── Binary-Search-Tree-Validation.py ├── Binary-Tree-Width │ └── Binary-Tree-Width.py ├── Brick-Layout │ └── Brick-Layout.py ├── Buying-Cars │ └── Buying-Cars.py ├── CCCXXVV │ └── CCCXXVV.py ├── CPU-Scheduling │ └── CPU-Scheduling.cpp ├── Caesar-Cipher │ └── Caesar-Cipher.cpp ├── Candy-Race │ └── Candy-Race.py ├── Central-Linked-List │ └── Central-Linked-List.py ├── Chain-of-Blocks │ └── Chain-of-Blocks.cpp ├── Changing-Directions │ └── Changing-Directions.py ├── Clock-Angle │ └── Clock-Angle.py ├── Collatz-Sequence │ └── Collatz-Sequence.cpp ├── Collecting-Disappearing-Coins │ └── Collecting-Disappearing-Coins.py ├── Column-Sort │ └── Column-Sort.cpp ├── Complete-an-Arithmetic-Sequence │ └── Complete-an-Arithmetic-Sequence.py ├── Compress-String │ └── Compress-String.py ├── Consecutive-Duplicates │ └── Consecutive-Duplicates.py ├── Consecutive-Ones │ └── Consecutive-Ones.cpp ├── Contained-Interval │ └── Contained-Interval.cpp ├── Contiguous-Intervals │ └── Contiguous-Intervals.cpp ├── Contiguously-Increasing-Numbers │ └── Contiguously-Increasing-Numbers.py ├── Convert-to-Full-Binary-Tree │ └── Convert-to-Full-Binary-Tree.cpp ├── Count-Exact-Sum │ └── Count-Exact-Sum.cpp ├── Count-Next-Element │ └── Count-Next-Element.py ├── Count-Substrings-With-All-1s │ └── Count-Substrings-With-All-1s.py ├── Count-of-Sublists-with-Same-First-and-Last-Values │ └── Count-of-Sublists-with-Same-First-and-Last-Values.py ├── Counting-Maximal-Value-Roots-in-Binary-Tree │ ├── Counting-Maximal-Value-Roots-in-Binary-Tree.cpp │ └── Counting-Maximal-Value-Roots-in-Binary-Tree.py ├── Course-Scheduling │ └── Course-Scheduling.py ├── Cutting-Binary-Search-Tree │ └── Cutting-Binary-Search-Tree.py ├── DFS.md ├── DIVIDE-AND-CONQUER.md ├── DP.md ├── Danny-Heap │ └── Danny-Heap.cpp ├── Delete-Even-Leaves │ └── Delete-Even-Leaves.cpp ├── Diagonal-Sort │ └── Diagonal-Sort.cpp ├── Diagonal-Tree-Traversal │ └── Diagonal-Tree-Traversal.cpp ├── EASY.md ├── Eat-Bananas-in-K-Hours │ └── Eat-Bananas-in-K-Hours.py ├── Elephant-Tree │ └── Elephant-Tree.py ├── Equivalent-Pairs │ └── Equivalent-Pairs.py ├── Equivalent-Value-and-Frequency │ ├── Equivalent-Value-and-Frequency.cpp │ └── Equivalent-Value-and-Frequency.py ├── Escape-Maze │ └── Escape-Maze.py ├── Even-Frequency │ └── Even-Frequency.cpp ├── Factorial-Sum │ └── Factorial-Sum.cpp ├── First-Fit-Room │ └── First-Fit-Room.py ├── Fixed-Point │ └── Fixed-Point.py ├── FizzBuzz │ └── FizzBuzz.py ├── Flight-Itinerary │ └── Flight-Itinerary.py ├── Flip-to-Zeros │ └── Flip-to-Zeros.py ├── GCD.md ├── GRAPH.md ├── GREEDY.md ├── Gene-Mutation-Groups │ └── Gene-Mutation-Groups.py ├── Generate-Primes │ └── Generate-Primes.py ├── Group-Integers │ └── Group-Integers.py ├── HARD.md ├── HARDER.md ├── HASH TABLE.md ├── HEAP.md ├── IP-Address │ └── IP-Address.py ├── In-place-Move-Zeros-to-End-of-List │ └── In-place-Move-Zeros-to-End-of-List.cpp ├── Index-into-an-Infinite-String │ ├── Index-into-an-Infinite-String.cpp │ └── Index-into-an-Infinite-String.py ├── Index-with-Equal-Left-and-Right-Sums │ └── Index-with-Equal-Left-and-Right-Sums.py ├── Index.sh ├── Inorder-Successor │ └── Inorder-Successor.py ├── Insert-Into-Linked-List │ └── Insert-Into-Linked-List.py ├── Insertion-Index-in-Sorted-List │ └── Insertion-Index-in-Sorted-List.py ├── Interleaved-Linked-List │ └── Interleaved-Linked-List.cpp ├── Interleaved-String │ └── Interleaved-String.py ├── Interval-Intersection │ └── Interval-Intersection.cpp ├── Interval-Overlaps │ └── Interval-Overlaps.py ├── Intervals-Intersecting-at-Point │ └── Intervals-Intersecting-at-Point.cpp ├── Island-Shape-Perimeter │ └── Island-Shape-Perimeter.py ├── Just-Average │ └── Just-Average.py ├── K-Distinct-Window │ └── K-Distinct-Window.cpp ├── K-Numbers-Greater-Than-or-Equal-to-K │ └── K-Numbers-Greater-Than-or-Equal-to-K.py ├── K-and-K │ └── K-and-K.py ├── Knight-Moves-to-Target-Coordinate │ └── Knight-Moves-to-Target-Coordinate.py ├── Kth-Last-Node-of-a-Linked-List │ └── Kth-Last-Node-of-a-Linked-List.cpp ├── Kth-Smallest-in-a-Binary-Search-Tree │ └── Kth-Smallest-in-a-Binary-Search-Tree.cpp ├── LINE SWEEPING.md ├── LINKED LIST.md ├── Large-to-Small-Sort │ └── Large-to-Small-Sort.cpp ├── Largest-Anagram-Group │ └── Largest-Anagram-Group.py ├── Largest-Difference-Between-Node-and-a-Descendant │ └── Largest-Difference-Between-Node-and-a-Descendant.cpp ├── Largest-Elements-in-Their-Row-and-Column │ └── Largest-Elements-in-Their-Row-and-Column.py ├── Largest-Island-Area │ └── Largest-Island-Area.py ├── Largest-Product-of-Contiguous-Digits │ └── Largest-Product-of-Contiguous-Digits.py ├── Largest-Square-Submatrix │ └── Largest-Square-Submatrix.py ├── Last-Value-Map │ └── Last-Value-Map.cpp ├── Latin-Square │ └── Latin-Square.cpp ├── Leaderboard │ └── Leaderboard.py ├── Leaf-Equivalent-Trees │ └── Leaf-Equivalent-Trees.py ├── Leaves-in-Same-Level │ └── Leaves-in-Same-Level.py ├── Left-Side-View-of-a-Tree │ ├── Left-Side-View-of-a-Tree.cpp │ └── Left-Side-View-of-a-Tree.py ├── Leftmost-Deepest-Tree-Node │ └── Leftmost-Deepest-Tree-Node.py ├── Length-of-Longest-Balanced-Subsequence │ └── Length-of-Longest-Balanced-Subsequence.py ├── Length-of-a-Linked-List │ └── Length-of-a-Linked-List.py ├── Level-Order-Binary-Search-Tree-to-Linked-List │ └── Level-Order-Binary-Search-Tree-to-Linked-List.cpp ├── Line-of-People │ └── Line-of-People.py ├── Linked-List-Delete-Last-Occurrence-of-Value │ └── Linked-List-Delete-Last-Occurrence-of-Value.py ├── Linked-List-Deletion │ └── Linked-List-Deletion.cpp ├── Linked-List-Intersection │ └── Linked-List-Intersection.cpp ├── Linked-List-Jumps │ ├── Linked-List-Jumps.cpp │ └── Linked-List-Jumps.py ├── Linked-List-Union │ └── Linked-List-Union.py ├── Linked-List-to-Integer │ └── Linked-List-to-Integer.cpp ├── List-Calculator │ └── List-Calculator.cpp ├── List-Equality-with-Increments │ └── List-Equality-with-Increments.py ├── List-to-Binary-Search-Tree │ └── List-to-Binary-Search-Tree.py ├── Longest-Alliteration │ └── Longest-Alliteration.py ├── Longest-Anagram-Subsequence │ └── Longest-Anagram-Subsequence.py ├── Longest-Common-Prefix │ └── Longest-Common-Prefix.py ├── Longest-Consecutive-Run-of-1s-in-Binary │ └── Longest-Consecutive-Run-of-1s-in-Binary.py ├── Longest-Consecutive-Sequence │ └── Longest-Consecutive-Sequence.py ├── Longest-Distinct-Sublist │ └── Longest-Distinct-Sublist.cpp ├── Longest-Even-Value-Path │ └── Longest-Even-Value-Path.py ├── Longest-Increasing-Path │ └── Longest-Increasing-Path.py ├── Longest-Increasing-Subsequence │ └── Longest-Increasing-Subsequence.py ├── Longest-Interval │ └── Longest-Interval.py ├── Longest-Prefix-that-Is-a-Suffix │ └── Longest-Prefix-that-Is-a-Suffix.cpp ├── Longest-Strictly-Increasing-Then-Decreasing-Sublist │ └── Longest-Strictly-Increasing-Then-Decreasing-Sublist.py ├── Longest-Substring-with-2-Distinct-Characters │ └── Longest-Substring-with-2-Distinct-Characters.py ├── Longest-Substring-with-Character-Count-of-at-Least-K │ └── Longest-Substring-with-Character-Count-of-at-Least-K.py ├── Longest-Tree-Path │ └── Longest-Tree-Path.py ├── Longest-Tree-Sum-Path-From-Root-to-Leaf │ └── Longest-Tree-Sum-Path-From-Root-to-Leaf.cpp ├── Longest-Zero-Sublist-Sum │ └── Longest-Zero-Sublist-Sum.py ├── Lowest-Sum-of-Pair-Larger-than-Target │ └── Lowest-Sum-of-Pair-Larger-than-Target.py ├── MATH.md ├── MATRIX.md ├── MEDIUM.md ├── MEMOIZATION.md ├── MERGE SORT.md ├── Make-Strings-Same │ └── Make-Strings-Same.cpp ├── Making-Change-Sequel │ └── Making-Change-Sequel.py ├── Making-Change │ └── Making-Change.py ├── Making-List-Values-Equal │ └── Making-List-Values-Equal.cpp ├── Matrix-Prefix-Sum │ ├── Matrix-Prefix-Sum.cpp │ └── Matrix-Prefix-Sum.py ├── Max-Product-of-Three-Numbers │ └── Max-Product-of-Three-Numbers.py ├── Max-Product-of-Two-Numbers │ └── Max-Product-of-Two-Numbers.py ├── Maximize-Social-Distancing │ └── Maximize-Social-Distancing.cpp ├── Maximum-Non-Adjacent-Tree-Sum │ └── Maximum-Non-Adjacent-Tree-Sum.py ├── Maximum-Number-After-One-Swap │ └── Maximum-Number-After-One-Swap.py ├── Maximum-Number-by-Inserting-Five │ └── Maximum-Number-by-Inserting-Five.py ├── Minimax-Tree │ └── Minimax-Tree.cpp ├── Minimum-Cost-Sort │ └── Minimum-Cost-Sort.cpp ├── Minimum-Distance-of-Two-Words-in-a-Sentence │ └── Minimum-Distance-of-Two-Words-in-a-Sentence.py ├── Minimum-Starting-Nodes-to-Visit-Graph │ └── Minimum-Starting-Nodes-to-Visit-Graph.py ├── Mixed-Sorting │ └── Mixed-Sorting.cpp ├── Most-Frequent-Number-in-Intervals │ └── Most-Frequent-Number-in-Intervals.py ├── Multiple-Coin-Flips │ └── Multiple-Coin-Flips.py ├── Multiset-Sum │ └── Multiset-Sum.cpp ├── N-Queens-Puzzle │ └── N-Queens-Puzzle.py ├── N-Rooks │ └── N-Rooks.py ├── Narcissistic-Number │ └── Narcissistic-Number.cpp ├── Next-Node-on-Its-Right │ └── Next-Node-on-Its-Right.cpp ├── No-New-Friends │ └── No-New-Friends.py ├── Noisy-Palindrome │ └── Noisy-Palindrome.py ├── Nth-Fibonacci-Number │ └── Nth-Fibonacci-Number.cpp ├── Number-of-Bits │ └── Number-of-Bits.py ├── Number-of-Hops │ └── Number-of-Hops.cpp ├── Number-of-Islands │ └── Number-of-Islands.py ├── Number-of-Moves-to-Capture-the-King │ └── Number-of-Moves-to-Capture-the-King.py ├── Number-of-Quadruplets-That-Sum-Target │ └── Number-of-Quadruplets-That-Sum-Target.py ├── Number-of-Sublists-with-Max-in-Interval │ └── Number-of-Sublists-with-Max-in-Interval.py ├── Number-of-Unique-Binary-Search-Trees │ └── Number-of-Unique-Binary-Search-Trees.py ├── ONE-LINER.md ├── Odd-Number-of-Digits │ └── Odd-Number-of-Digits.py ├── Odd-Palindrome │ └── Odd-Palindrome.py ├── Only-Child │ └── Only-Child.cpp ├── PREFIX SUM.md ├── PRIORITY QUEUE.md ├── Packing-Boxes │ └── Packing-Boxes.py ├── Paint-Bucket │ └── Paint-Bucket.cpp ├── Pairwise-Linked-List-Swap │ └── Pairwise-Linked-List-Swap.py ├── Palindrome-Count │ ├── Palindrome-Count.cpp │ └── Palindrome-Count.py ├── Palindrome-Linked-List │ ├── Palindrome-Linked-List.cpp │ └── Palindrome-Linked-List.py ├── Parentheses-Grouping │ └── Parentheses-Grouping.py ├── Partition-List-to-Pairs-that-Are-Divisible-by-K │ └── Partition-List-to-Pairs-that-Are-Divisible-by-K.py ├── Partition-String │ └── Partition-String.cpp ├── Partition-Tree │ └── Partition-Tree.cpp ├── Pascal's-Triangle │ └── Pascal's-Triangle.cpp ├── Penny-for-Your-Thoughts │ └── Penny-for-Your-Thoughts.cpp ├── Phone-Number-Permutations │ └── Phone-Number-Permutations.py ├── Points-on-a-Line │ └── Points-on-a-Line.py ├── Poly-Knapsack │ └── Poly-Knapsack.py ├── Prime-Factorization │ └── Prime-Factorization.cpp ├── Pythagorean-Triplets │ └── Pythagorean-Triplets.py ├── QUEUE.md ├── README.md ├── RECURSION.md ├── RECURSIVE.md ├── ROLLING HASH.md ├── Rate-Limiter │ └── Rate-Limiter.py ├── Recurring-Character │ └── Recurring-Character.py ├── Recursive-Index │ └── Recursive-Index.cpp ├── Remove-Duplicate-Numbers │ └── Remove-Duplicate-Numbers.py ├── Remove-Duplicates-in-Linked-List │ └── Remove-Duplicates-in-Linked-List.cpp ├── Remove-Half-of-the-List │ └── Remove-Half-of-the-List.py ├── Remove-Last-Duplicate-Entries │ └── Remove-Last-Duplicate-Entries.py ├── Remove-One-Letter │ └── Remove-One-Letter.cpp ├── Repeated-K-Length-Substrings │ ├── Repeated-K-Length-Substrings.cpp │ └── Repeated-K-Length-Substrings.py ├── Repeating-String │ └── Repeating-String.cpp ├── Reverse-Graph │ └── Reverse-Graph.cpp ├── Reverse-Sublists-to-Convert-to-Target │ └── Reverse-Sublists-to-Convert-to-Target.py ├── Reverse-Words │ └── Reverse-Words.py ├── Robinhood │ └── Robinhood.cpp ├── Rocketship-Rescue │ └── Rocketship-Rescue.py ├── Rod-Cutting │ └── Rod-Cutting.py ├── Roomba │ └── Roomba.py ├── Rotation-of-Another-String │ └── Rotation-of-Another-String.py ├── Run-Length-Decoding │ ├── Run-Length-Decoding.cpp │ └── Run-Length-Decoding.py ├── Run-Length-Encoding │ └── Run-Length-Encoding.py ├── SEARCH.md ├── SIMULATION.md ├── SLIDING WINDOW.md ├── SORT.md ├── STACK.md ├── STRING.md ├── SUFFIX.md ├── SWAP.md ├── Search-Engine │ └── Search-Engine.py ├── Search-in-a-Binary-Search-Tree │ └── Search-in-a-Binary-Search-Tree.py ├── Sentence-Reversal │ └── Sentence-Reversal.py ├── Set-Split │ └── Set-Split.cpp ├── Shipping-and-Receiving │ └── Shipping-and-Receiving.py ├── Shortest-Path-in-a-Graph │ └── Shortest-Path-in-a-Graph.py ├── Shortest-String │ └── Shortest-String.cpp ├── Sibling-Tree-Value │ └── Sibling-Tree-Value.cpp ├── Sliding-Window-Max │ └── Sliding-Window-Max.cpp ├── Sliding-Window-Product │ └── Sliding-Window-Product.cpp ├── Sort-List-by-Hamming-Weight │ └── Sort-List-by-Hamming-Weight.cpp ├── Sort-List-by-Reversing-Once │ └── Sort-List-by-Reversing-Once.py ├── Sort-a-Linked-List │ └── Sort-a-Linked-List.py ├── Spiral-Matrix │ └── Spiral-Matrix.cpp ├── Split-List │ └── Split-List.cpp ├── Split-Product │ └── Split-Product.cpp ├── Split-String-with-Same-Distinct-Counts │ └── Split-String-with-Same-Distinct-Counts.py ├── Split-Tree-to-Maximize-Product │ └── Split-Tree-to-Maximize-Product.py ├── Stepping-Numbers │ └── Stepping-Numbers.py ├── String-Addition │ └── String-Addition.cpp ├── String-Clockwise-Shift │ └── String-Clockwise-Shift.py ├── String-Sequence │ └── String-Sequence.cpp ├── Subsequence-Strings │ └── Subsequence-Strings.cpp ├── Subtree-with-Maximum-Value │ └── Subtree-with-Maximum-Value.py ├── Sudoku-Solver │ └── Sudoku-Solver.py ├── Sudoku-Validator │ └── Sudoku-Validator.py ├── Sum-Tree │ ├── Sum-Tree-2.cpp │ └── Sum-Tree.cpp ├── Sum-of-Four-Numbers │ └── Sum-of-Four-Numbers.cpp ├── Sum-of-Nodes-with-Even-Grandparent-Values │ └── Sum-of-Nodes-with-Even-Grandparent-Values.cpp ├── Sum-of-Three-Numbers-Less-than-Target │ └── Sum-of-Three-Numbers-Less-than-Target.py ├── Sum-of-Three-Numbers │ └── Sum-of-Three-Numbers.cpp ├── Sum-of-Two-Numbers-Less-Than-Target │ └── Sum-of-Two-Numbers-Less-Than-Target.py ├── Sum-of-Two-Numbers-in-BSTs │ └── Sum-of-Two-Numbers-in-BSTs.cpp ├── Sum-of-the-Deepest-Nodes │ └── Sum-of-the-Deepest-Nodes.py ├── Sum-of-the-digits │ └── Sum-of-the-digits.cpp ├── Surrounded-Islands │ └── Surrounded-Islands.py ├── Swap-Characters-to-Equalize-Strings │ └── Swap-Characters-to-Equalize-Strings.py ├── Swap-Consecutive-Pair-of-Even-Numbers │ └── Swap-Consecutive-Pair-of-Even-Numbers.cpp ├── Symmetric-Binary-Tree │ └── Symmetric-Binary-Tree.py ├── TOPOLOGICAL SORT.md ├── TRIE.md ├── TWO POINTER.md ├── Target-Number-with-Operations-Sequel │ └── Target-Number-with-Operations-Sequel.py ├── Task-Hare │ └── Task-Hare.py ├── The-Auditor │ └── The-Auditor.py ├── Toeplitz-Matrix │ └── Toeplitz-Matrix.cpp ├── Tree-Detection │ └── Tree-Detection.py ├── Tree-From-PreInorder-Traversals │ └── Tree-From-PreInorder-Traversals.py ├── Tree-Sum │ └── Tree-Sum.py ├── Tree-Traversal │ └── Tree-Traversal.cpp ├── Triangle-Triplets │ └── Triangle-Triplets.py ├── Trie │ └── Trie.cpp ├── UCS.md ├── Ugly-Number │ └── Ugly-Number.cpp ├── Unique-Ab-Strings │ └── Unique-Ab-Strings.py ├── Unique-Occurrences │ └── Unique-Occurrences.py ├── Univalue-Tree │ └── Univalue-Tree.py ├── Unix-Path-Resolution │ └── Unix-Path-Resolution.cpp ├── Unlock-Rooms │ └── Unlock-Rooms.py ├── Unobstructed-Buildings │ └── Unobstructed-Buildings.py ├── Valid-N-Queens │ └── Valid-N-Queens.cpp ├── Verify-Max-Heap │ └── Verify-Max-Heap.py ├── Vertical-Cipher │ └── Vertical-Cipher.cpp ├── Vertical-Lines-in-Binary-Tree │ └── Vertical-Lines-in-Binary-Tree.py ├── Vigenere-Cipher │ └── Vigenere-Cipher.cpp ├── Visible-Blocks │ └── Visible-Blocks.py ├── Word-Formation │ └── Word-Formation.cpp ├── Z-Sum │ └── Z-Sum.py ├── camelCase │ └── camelCase.cpp └── list.py ├── dynamic-programming.md ├── leetcode ├── .c.md ├── .cpp.md ├── .go.md ├── .java.md ├── .js.md ├── .php.md ├── .py.md ├── .rs.md ├── .sql.md ├── 1002. Find Common Characters │ ├── 1002.cpp │ └── 1002.java ├── 1003. Check If Word Is Valid After Substitutions │ └── 1003.cpp ├── 1005. Maximize Sum Of Array After K Negations │ ├── 1005-2.cpp │ └── 1005.cpp ├── 1006. Clumsy Factorial │ └── 1006.cpp ├── 1008. Construct Binary Search Tree from Preorder Traversal │ ├── 1008-2.java │ ├── 1008.cpp │ └── 1008.java ├── 101. Symmetric Tree │ └── 101.py ├── 1017. Convert to Base -2 │ ├── 1017-2.cpp │ └── 1017.cpp ├── 1018. Binary Prefix Divisible By 5 │ ├── 1018.cpp │ └── 1018.java ├── 1020. Partition Array Into Three Parts With Equal Sum │ └── 1020.cpp ├── 1021. Remove Outermost Parentheses │ └── 1021.cpp ├── 1022. Sum of Root To Leaf Binary Numbers │ ├── 1022.cpp │ └── 1022.java ├── 1026. Maximum Difference Between Node and Ancestor │ └── 1026.cpp ├── 1027. Longest Arithmetic Sequence │ └── 1027.cpp ├── 103. Binary Tree Zigzag Level Order Traversal │ ├── 103-2.cpp │ ├── 103.cpp │ └── 103.py ├── 1035. Uncrossed Lines │ ├── 1035-2.py │ └── 1035.py ├── 1037. Valid Boomerang │ ├── 1037-2.cpp │ ├── 1037-3.cpp │ └── 1037.cpp ├── 1046. Last Stone Weight │ └── 1046.java ├── 1047. Remove All Adjacent Duplicates In String │ ├── 1047-2.cpp │ ├── 1047-3.cpp │ ├── 1047.cpp │ └── 1047.py ├── 105. Construct Binary Tree from Preorder and Inorder Traversal │ └── 105.cpp ├── 106. Construct Binary Tree from Inorder and Postorder Traversal │ ├── 106-2.cpp │ └── 106.cpp ├── 1060. Missing Element in Sorted Array │ ├── 1060-2.cpp │ └── 1060.cpp ├── 1071. Greatest Common Divisor of Strings │ └── 1071.cpp ├── 108. Convert Sorted Array to Binary Search Tree │ ├── 108-2.cpp │ └── 108.cpp ├── 1080. Insufficient Nodes in Root to Leaf Paths │ └── 1080.java ├── 1085. Sum of Digits in the Minimum Number │ ├── 1085-2.py │ ├── 1085-3.py │ ├── 1085.cpp │ └── 1085.py ├── 1087. Brace Expansion │ ├── 1087-2.cpp │ └── 1087.cpp ├── 1094. Car Pooling │ ├── 1094-2.cpp │ └── 1094.cpp ├── 1099. Two Sum Less Than K │ ├── 1099-1.cpp │ └── 1099-2.cpp ├── 11. Container With Most Water │ └── 11.py ├── 110. Balanced Binary Tree │ └── 110.cpp ├── 1100. Find K-Length Substrings With No Repeated Characters │ ├── 1100-2.cpp │ └── 1100.cpp ├── 111. Minimum Depth of Binary Tree │ └── 111.cpp ├── 1110. Delete Nodes And Return Forest │ └── 1110.cpp ├── 1118. Number of Days in a Month │ └── 1118.cpp ├── 1119. Remove Vowels from a String │ └── 1119.cpp ├── 1120. Maximum Average Subtree │ ├── 1120.cpp │ └── 1120.py ├── 1122. Relative Sort Array │ ├── 1122-2.cpp │ ├── 1122-3.cpp │ └── 1122.cpp ├── 1128. Number of Equivalent Domino Pairs │ └── 1128.cpp ├── 113. Path Sum II │ ├── 113-2.js │ └── 113.js ├── 1133. Largest Unique Number │ ├── 1133-2.cpp │ ├── 1133-3.cpp │ ├── 1133.cpp │ ├── 1133.js │ └── 1133.py ├── 1134. Armstrong Number │ └── 1134.py ├── 1135. Connecting Cities With Minimum Cost │ ├── 1135-2.cpp │ └── 1135.cpp ├── 1137. N-th Tribonacci Number │ ├── 1137-2.cpp │ └── 1137.cpp ├── 1143. Longest Common Subsequence │ └── 1143.cpp ├── 1154. Day of the Year │ └── 1154.cpp ├── 1160. Find Words That Can Be Formed by Characters │ └── 1160.cpp ├── 1161. Maximum Level Sum of a Binary Tree │ └── 1161.cpp ├── 1165. Single-Row Keyboard │ ├── 1165-2.cpp │ └── 1165.cpp ├── 1167. Minimum Cost to Connect Sticks │ ├── 1167.cpp │ └── 1167.py ├── 117. Populating Next Right Pointers in Each Node II │ └── 117.py ├── 1171. Remove Zero Sum Consecutive Nodes from Linked List │ └── 1171.cpp ├── 1175. Prime Arrangements │ └── 1175.cpp ├── 1180. Count Substrings with Only One Distinct Letter │ ├── 1180-2.cpp │ ├── 1180-3.cpp │ ├── 1180-4.cpp │ └── 1180.cpp ├── 1184. Distance Between Bus Stops │ └── 1184.py ├── 1185. Day of the Week │ └── 1185.cpp ├── 1188. Design Bounded Blocking Queue │ └── 1188.py ├── 1190. Reverse Substrings Between Each Pair of Parentheses │ └── 1190.cpp ├── 1196. How Many Apples Can You Put into the Basket │ └── 1196.cpp ├── 1197. Minimum Knight Moves │ └── 1197.py ├── 12. Integer to Roman │ └── 12.py ├── 120. Triangle │ └── 120.py ├── 1200. Minimum Absolute Difference │ ├── 1200.cpp │ └── 1200.py ├── 1207. Unique Number of Occurrences │ └── 1207.cpp ├── 1208. Get Equal Substrings Within Budget │ └── 1208.cpp ├── 121. Best Time to Buy and Sell Stock │ └── 121.py ├── 1213. Intersection of Three Sorted Arrays │ ├── 1213.cpp │ └── 1213.py ├── 1215. Stepping Numbers │ └── 1215.cpp ├── 1218. Longest Arithmetic Subsequence of Given Difference │ └── 1218.cpp ├── 1220. Count Vowels Permutation │ └── 1220.cpp ├── 1221. Split a String in Balanced Strings │ └── 1221.cpp ├── 1222. Queens That Can Attack the King │ └── 1222.cpp ├── 1228. Missing Number In Arithmetic Progression │ └── 1228.cpp ├── 1230. Toss Strange Coins │ └── 1230.cpp ├── 1232. Check If It Is a Straight Line │ └── 1232.cpp ├── 1237. Find Positive Integer Solution for a Given Equation │ ├── 1237-2.cpp │ └── 1237.cpp ├── 1244. Design A Leaderboard │ └── 1244.cpp ├── 1248. Count Number of Nice Subarrays │ └── 1248.java ├── 1249. Minimum Remove to Make Valid Parentheses │ └── 1249.cpp ├── 125. Valid Palindrome │ └── 125.cpp ├── 1253. Reconstruct a 2-Row Binary Matrix │ └── 1253.cpp ├── 1260. Shift 2D Grid │ └── 1260.cpp ├── 1261. Find Elements in a Contaminated Binary Tree │ └── 1261.cpp ├── 1265. Print Immutable Linked List in Reverse │ ├── 1265-2.cpp │ └── 1265.cpp ├── 1267. Count Servers that Communicate │ └── 1267.py ├── 1269. Number of Ways to Stay in the Same Place After Some Steps │ └── 1269.py ├── 1272. Remove Interval │ └── 1272.cpp ├── 1273. Delete Tree Nodes │ └── 1273.cpp ├── 1275. Find Winner on a Tic Tac Toe Game │ └── 1275.cpp ├── 1281. Subtract the Product and Sum of Digits of an Integer │ └── 1281.cpp ├── 1282. Group the People Given the Group Size They Belong To │ └── 1282.cpp ├── 1288. Remove Covered Intervals │ └── 1288.cpp ├── 129. Sum Root to Leaf Numbers │ └── 129.py ├── 1290. Convert Binary Number in a Linked List to Integer │ └── 1290.cpp ├── 1291. Sequential Digits │ ├── 1291-2.cpp │ └── 1291.cpp ├── 1295. Find Numbers with Even Number of Digits │ └── 1295.cpp ├── 1299. Replace Elements with Greatest Element on Right Side │ └── 1299.cpp ├── 13. Roman to Integer │ ├── 13-2.cpp │ └── 13.cpp ├── 1302. Deepest Leaves Sum │ ├── 1302-2.cpp │ └── 1302.cpp ├── 1304. Find N Unique Integers Sum up to Zero │ └── 1304.py ├── 131. Palindrome Partitioning │ └── 131.cpp ├── 1314. Matrix Block Sum │ └── 1314.cpp ├── 1315. Sum of Nodes with Even-Valued Grandparent │ └── 1315.java ├── 1317. Convert Integer to the Sum of Two No-Zero Integers │ └── 1317.java ├── 1325. Delete Leaves With a Given Value │ └── 1325.java ├── 1328. Break a Palindrome │ └── 1328.js ├── 133. Clone Graph │ ├── 133.cpp │ └── 133.java ├── 1338. Reduce Array Size to The Half │ └── 1338.py ├── 1339. Maximum Product of Splitted Binary Tree │ └── 1339.py ├── 1342. Number of Steps to Reduce a Number to Zero │ ├── 1342.cpp │ └── 1342.py ├── 1344. Angle Between Hands of a Clock │ └── 1344.cpp ├── 1346. Check If N and Its Double Exist │ └── 1346.go ├── 1352. Product of the Last K Numbers │ └── 1352.cpp ├── 1356. Sort Integers by The Number of 1 Bits │ └── 1356.cpp ├── 1360. Number of Days Between Two Dates │ └── 1360.cpp ├── 1362. Closest Divisors │ └── 1362.cpp ├── 1365. How Many Numbers Are Smaller Than the Current Number │ └── 1365.cpp ├── 1374. Generate a String With Characters That Have Odd Counts │ └── 1374.py ├── 1379. Find a Corresponding Node of a Binary Tree in a Clone of That Tree │ └── 1379.py ├── 1380. Lucky Numbers in a Matrix │ └── 1380.cpp ├── 1382. Balance a Binary Search Tree │ ├── 1382.cpp │ └── 1382.py ├── 1387. Sort Integers by The Power Value │ └── 1387.cpp ├── 139. Word Break │ └── 139.py ├── 1392. Longest Happy Prefix │ └── 1392.py ├── 1396. Design Underground System │ └── 1396.cpp ├── 1399. Count Largest Group │ └── 1399.cpp ├── 1400. Construct K Palindrome Strings │ └── 1400.cpp ├── 1404. Number of Steps to Reduce a Number in Binary Representation to One │ └── 1404.cpp ├── 1410. HTML Entity Parser │ └── 1410.cpp ├── 1413. Minimum Value to Get Positive Step by Step Sum │ └── 1413.cpp ├── 1415. The k-th Lexicographical String of All Happy Strings of Length n │ └── 1415.cpp ├── 1422. Maximum Score After Splitting a String │ └── 1422.cpp ├── 1436. Destination City │ └── 1436.cpp ├── 1437. Check If All 1's Are at Least Length K Places Away │ └── 1437.cpp ├── 144. Binary Tree Preorder Traversal │ └── 144.rs ├── 1443. Minimum Time to Collect All Apples in a Tree │ └── 1443.cpp ├── 1447. Simplified Fractions │ └── 1447.py ├── 1456. Maximum Number of Vowels in a Substring of Given Length │ └── 1456.py ├── 1457. Pseudo-Palindromic Paths in a Binary Tree │ ├── 1457-2.py │ └── 1457.py ├── 1458. Max Dot Product of Two Subsequences │ └── 1458.cpp ├── 146. LRU Cache │ └── 146.cpp ├── 1469. Find All the Lonely Nodes │ └── 1469.cpp ├── 1470. Shuffle the Array │ └── 1470.go ├── 1472. Design Browser History │ └── 1472.cpp ├── 1474. Delete N Nodes After M Nodes of a Linked List │ └── 1474.cpp ├── 148. Sort List │ └── 148.cpp ├── 1481. Least Number of Unique Integers after K Removals │ └── 1481.py ├── 1485. Clone Binary Tree With Random Pointer │ └── 1485.cpp ├── 1490. Clone N-ary Tree │ └── 1490.cpp ├── 1491. Average Salary Excluding the Minimum and Maximum Salary │ ├── 1491.cpp │ └── 1491.py ├── 1492. The kth Factor of n │ └── 1492.cpp ├── 15. 3Sum │ ├── 15-2.cpp │ └── 15.cpp ├── 150. Evaluate Reverse Polish Notation │ └── 150.py ├── 1502. Can Make Arithmetic Progression From Sequence │ └── 1502.cpp ├── 1503. Last Moment Before All Ants Fall Out of a Plank │ └── 645.py ├── 1506. Find Root of N-Ary Tree │ └── 1506.cpp ├── 151. Reverse Words in a String │ └── 151.cpp ├── 1513. Number of Substrings With Only 1s │ └── 1513.py ├── 1518. Water Bottles │ └── 1518.java ├── 1522. Diameter of N-Ary Tree │ └── 1522.cpp ├── 1523. Count Odd Numbers in an Interval Range │ └── 1523.py ├── 1528. Shuffle String │ └── 1528.py ├── 1539. Kth Missing Positive Number │ └── 1539.cpp ├── 1550. Three Consecutive Odds │ └── 1550.py ├── 1558. Minimum Numbers of Function Calls to Make Target Array │ └── 1558.cpp ├── 1566. Detect Pattern of Length M Repeated K or More Times │ └── 1566.py ├── 1570. Dot Product of Two Sparse Vectors │ └── 1570.cpp ├── 1572. Matrix Diagonal Sum │ └── 1572.py ├── 1576. Replace All ?'s to Avoid Consecutive Repeating Characters │ └── 1576.cpp ├── 159. Longest Substring with At Most Two Distinct Characters │ └── 159.cpp ├── 1598. Crawler Log Folder │ └── 1598.cpp ├── 16. 3Sum Closest │ └── 16.cpp ├── 160. Intersection of Two Linked Lists │ └── 160.cpp ├── 1602. Find Nearest Right Node in Binary Tree │ └── 1602.cpp ├── 1605. Find Valid Matrix Given Row and Column Sums │ └── 1605.cpp ├── 1612. Check If Two Expression Trees are Equivalent │ └── 1612.cpp ├── 1614. Maximum Nesting Depth of the Parentheses │ └── 1614.cpp ├── 1624. Largest Substring Between Two Equal Characters │ ├── 1624.cpp │ └── 1624.py ├── 1658. Minimum Operations to Reduce X to Zero │ └── 1658.py ├── 166. Fraction to Recurring Decimal │ └── 166.java ├── 167. Two Sum II - Input array is sorted │ └── 167.py ├── 1680. Concatenation of Consecutive Binary Numbers │ └── 1680.cpp ├── 1694. Reformat Phone Number │ └── 1694.py ├── 170. Two Sum III - Data structure design │ ├── 170-2.cpp │ ├── 170-3.cpp │ └── 170.cpp ├── 1704. Determine if String Halves Are Alike │ └── 1704.cpp ├── 171. Excel Sheet Column Number │ └── 171.py ├── 1710. Maximum Units on a Truck │ └── 1710.cpp ├── 1725. Number Of Rectangles That Can Form The Largest Square │ └── 1725.py ├── 1748. Sum of Unique Elements │ └── 1748.py ├── 176. Second Highest Salary │ └── 176.sql ├── 1768. Merge Strings Alternately │ └── 1768.go ├── 1791. Find Center of Star Graph │ └── 1791.py ├── 1796. Second Largest Digit in a String │ └── 1796.cpp ├── 18. 4Sum │ └── 18.cpp ├── 1800. Maximum Ascending Subarray Sum │ └── 1800.py ├── 1805. Number of Different Integers in a String │ └── 1805.py ├── 1812. Determine Color of a Chessboard Square │ └── 1812.cpp ├── 1816. Truncate Sentence │ └── 1816.py ├── 1822. Sign of the Product of an Array │ └── 1822.go ├── 1832. Check if the Sentence Is Pangram │ └── 1832.py ├── 1837. Sum of Digits in Base K │ └── 1837.py ├── 1854. Maximum Population Year │ └── 1854.cpp ├── 186. Reverse Words in a String II │ ├── 186-2.cpp │ └── 186.cpp ├── 1869. Longer Contiguous Segments of Ones than Zeros │ └── 1869.py ├── 1874. Minimize Product Sum of Two Arrays │ └── 1874.go ├── 1876. Substrings of Size Three with Distinct Characters │ └── 1876.py ├── 1880. Check if Word Equals Summation of Two Words │ └── 1880.py ├── 1884. Egg Drop With 2 Eggs and N Floors │ └── 1884.py ├── 1886. Determine Whether Matrix Can Be Obtained By Rotation │ └── 1886.py ├── 189. Rotate Array │ └── 189.py ├── 1897. Redistribute Characters to Make All Strings Equal │ ├── 1897.go │ └── 1897.py ├── 190. Reverse Bits │ └── 190.py ├── 1903. Largest Odd Number in String │ └── 1903.py ├── 1909. Remove One Element to Make the Array Strictly Increasing │ └── 1909.py ├── 1920. Build Array from Permutation │ └── 1920.py ├── 1925. Count Square Sum Triples │ └── 1925.py ├── 1926. Nearest Exit from Entrance in Maze │ └── 1926.py ├── 1929. Concatenation of Array │ └── 1929.py ├── 1930. Unique Length-3 Palindromic Subsequences │ └── 1930.py ├── 1935. Maximum Number of Words You Can Type │ └── 1935.py ├── 1941. Check if All Characters Have Equal Number of Occurrences │ └── 1941.go ├── 1952. Three Divisors │ └── 1952.py ├── 1971. Find if Path Exists in Graph │ └── 1971.py ├── 1973. Count Nodes Equal to Sum of Descendants │ └── 1973.py ├── 1984. Minimum Difference Between Highest and Lowest of K Scores │ └── 1984.py ├── 199. Binary Tree Right Side View │ └── 199.py ├── 1991. Find the Middle Index in Array │ └── 1991.py ├── 2006. Count Number of Pairs With Absolute Difference K │ └── 2006.py ├── 201. Bitwise AND of Numbers Range │ └── 201.cpp ├── 2011. Final Value of Variable After Performing Operations │ └── 2011.py ├── 2022. Convert 1D Array Into 2D Array │ └── 2022.py ├── 2032. Two Out of Three │ └── 2032.py ├── 205. Isomorphic Strings │ └── 205.cpp ├── 206. Reverse Linked List │ └── 206.js ├── 207. Course Schedule │ └── 207.py ├── 2094. Finding 3-Digit Even Numbers │ └── 2094.py ├── 2099. Find Subsequence of Length K With the Largest Sum │ └── 2099.py ├── 21. Merge Two Sorted Lists │ ├── 21-2.cpp │ ├── 21-3.cpp │ ├── 21-4.cpp │ └── 21.cpp ├── 2101. Detonate the Maximum Bombs │ └── 2101.py ├── 2124. Check if All A's Appears Before All B's │ └── 2124.py ├── 2129. Capitalize the Title │ └── 2129.py ├── 2133. Check if Every Row and Column Contains All Numbers │ └── 2133.py ├── 2139. Minimum Moves to Reach Target Score │ └── 2139.py ├── 2149. Rearrange Array Elements by Sign │ └── 2149.py ├── 215. Kth Largest Element in an Array │ ├── 215-2.cpp │ └── 215.cpp ├── 216. Combination Sum III │ └── 216.py ├── 2160. Minimum Sum of Four Digit Number After Splitting Digits │ └── 2160.py ├── 2164. Sort Even and Odd Indices Independently │ └── 2164.py ├── 2165. Smallest Value of the Rearranged Number │ └── 2165.py ├── 217. Contains Duplicate │ └── 217.js ├── 2177. Find Three Consecutive Integers That Sum to a Given Number │ └── 2177.py ├── 2185. Counting Words With a Given Prefix │ └── 2185.py ├── 219. Contains Duplicate II │ └── 219.py ├── 22. Generate Parentheses │ ├── 22-2.cpp │ └── 22.cpp ├── 2220. Minimum Bit Flips to Convert Number │ └── 2220.py ├── 2229. Check if an Array Is Consecutive │ └── 2229.py ├── 2248. Intersection of Multiple Arrays │ └── 2248.py ├── 2255. Count Prefixes of a Given String │ └── 2255.py ├── 2259. Remove Digit From Number to Maximize Result │ └── 2259.py ├── 2264. Largest 3-Same-Digit Number in String │ └── 2264.py ├── 2265. Count Nodes Equal to Average of Subtree │ └── 2265.py ├── 228. Summary Ranges │ └── 228.cpp ├── 2287. Rearrange Characters to Make Target String │ └── 2287.py ├── 2293. Min Max Game │ └── 2293.py ├── 23. Merge k Sorted Lists │ └── 23.cpp ├── 230. Kth Smallest Element in a BST │ ├── 230-2.cpp │ ├── 230-2.java │ ├── 230-3.cpp │ ├── 230-3.java │ ├── 230-4.cpp │ ├── 230-4.java │ ├── 230.cpp │ ├── 230.java │ └── 230.py ├── 2309. Greatest English Letter in Upper and Lower Case │ └── 2309.py ├── 2316. Count Unreachable Pairs of Nodes in an Undirected Graph │ ├── 2316.py │ └── 2316_2.py ├── 2331. Evaluate Boolean Binary Tree │ └── 2331.py ├── 2335. Minimum Amount of Time to Fill Cups │ └── 2335.py ├── 2348. Number of Zero-Filled Subarrays │ └── 2348.py ├── 2352. Equal Row and Column Pairs │ └── 2352.py ├── 2368. Reachable Nodes With Restrictions │ └── 2368.py ├── 237. Delete Node in a Linked List │ └── 237.py ├── 24. Swap Nodes in Pairs │ └── 24.cpp ├── 2409. Count Days Spent Together │ └── 2409.py ├── 242. Valid Anagram │ └── 242.cpp ├── 2427. Number of Common Factors │ └── 2427.py ├── 2436. Minimum Split Into Subarrays With GCD Greater Than One │ └── 2436.py ├── 2437. Number of Valid Clock Times │ └── 2437.py ├── 2443. Sum of Number and Its Reverse │ └── 2443.py ├── 2446. Determine if Two Events Have Conflict │ └── 2446.py ├── 246. Strobogrammatic Number │ ├── 246-2.cpp │ └── 246.cpp ├── 247. Strobogrammatic Number II │ └── 247.cpp ├── 2481. Minimum Cuts to Divide a Circle │ └── 2481.py ├── 2485. Find the Pivot Integer │ └── 2485.py ├── 2490. Circular Sentence │ └── 2490.py ├── 250. Count Univalue Subtrees │ ├── 250-2.cpp │ ├── 250-2.java │ ├── 250-3.cpp │ ├── 250.cpp │ └── 250.java ├── 2506. Count Pairs Of Similar Strings │ └── 2506.rs ├── 251. Flatten 2D Vector │ ├── 251-2.cpp │ └── 251.cpp ├── 2510. Check if There is a Path With Equal Number of 0's And 1's │ └── 2510.py ├── 252. Meeting Rooms │ ├── 252-2.cpp │ └── 252.cpp ├── 2520. Count the Digits That Divide a Number │ └── 2520.py ├── 2521. Distinct Prime Factors of Product of Array │ ├── 2521.py │ └── 2521.rs ├── 2529. Maximum Count of Positive Integer and Negative Integer │ └── 2529.py ├── 254. Factor Combinations │ ├── 254-2.cpp │ ├── 254.cpp │ └── 254.py ├── 2544. Alternating Digit Sum │ └── 2544.py ├── 2549. Count Distinct Numbers on Board │ └── 2549.py ├── 2553. Separate the Digits in an Array │ └── 2553.py ├── 2558. Take Gifts From the Richest Pile │ └── 2558.py ├── 256. Paint House │ └── 256.cpp ├── 2571. Minimum Operations to Reduce an Integer to 0 │ ├── 2571-2.py │ ├── 2571-3.py │ ├── 2571.py │ └── 2571.rs ├── 2578. Split With Minimum Sum │ ├── 2578-2.py │ ├── 2578-3.py │ └── 2578.py ├── 2579. Count Total Number of Colored Cells │ └── 2579.py ├── 2582. Pass the Pillow │ └── 2582.py ├── 2595. Number of Even and Odd Bits │ └── 2595.py ├── 26. Remove Duplicates from Sorted Array │ └── 26.py ├── 2600. K Items With the Maximum Sum │ └── 2600.py ├── 2605. Form Smallest Number From Two Digit Arrays │ └── 2605.py ├── 2609. Find the Longest Balanced Substring of a Binary String │ └── 2609.py ├── 261. Graph Valid Tree │ ├── 261-2.cpp │ └── 261.cpp ├── 2639. Find the Width of Columns of a Grid │ └── 2639.py ├── 264. Ugly Number II │ └── 264.py ├── 2652. Sum Multiples │ └── 2652.py ├── 266. Palindrome Permutation │ ├── 266-2.cpp │ └── 266.cpp ├── 2696. Minimum String Length After Removing Substrings │ └── 2696.py ├── 2697. Lexicographically Smallest Palindrome │ └── 2697.py ├── 27. Remove Element │ └── 27.py ├── 270. Closest Binary Search Tree Value │ └── 270.py ├── 2706. Buy Two Chocolates │ └── 2706.py ├── 2710. Remove Trailing Zeros From a String │ └── 2710.py ├── 2716. Minimize String Length │ └── 2716.py ├── 2717. Semi-Ordered Permutation │ └── 2717.py ├── 2728. Count Houses in a Circular Street │ └── 2728.rs ├── 2733. Neither Minimum nor Maximum │ └── 2733.py ├── 2744. Find Maximum Number of String Pairs │ └── 2744.py ├── 2753. Count Houses in a Circular Street II │ └── 2753.py ├── 276. Paint Fence │ ├── 276.cpp │ └── 276.py ├── 2769. Find the Maximum Achievable Number │ └── 2769.py ├── 28. Implement strStr() │ └── 28.cpp ├── 280. Wiggle Sort │ ├── 280-2.cpp │ └── 280.cpp ├── 2802. Find The K-th Lucky Number │ ├── 2802-2.py │ ├── 2802-3.py │ └── 2802.py ├── 2810. Faulty Keyboard │ └── 2810.py ├── 2824. Count Pairs Whose Sum is Less than Target │ └── 2824.py ├── 2833. Furthest Point From Origin │ └── 2833.py ├── 2847. Smallest Number With Given Digit Product │ └── 2847.py ├── 2848. Points That Intersect With Cars │ └── 2848.py ├── 2855. Minimum Right Shifts to Sort the Array │ └── 2855.py ├── 2864. Maximum Odd Binary Number │ └── 2864.py ├── 2869. Minimum Operations to Collect Elements │ └── 2869.py ├── 2894. Divisible and Non-divisible Sums Difference │ └── 2894.py ├── 290. Word Pattern │ └── 290.cpp ├── 2915. Length of the Longest Subsequence That Sums to Target │ └── 2915.py ├── 2923. Find Champion I │ └── 2923.py ├── 2924. Find Champion II │ └── 2924.py ├── 297. Serialize and Deserialize Binary Tree │ └── 297.cpp ├── 2980. Check if Bitwise OR Has Trailing Zeros │ └── 2980.py ├── 3. Longest Substring Without Repeating Characters │ └── 3.py ├── 300. Longest Increasing Subsequence │ └── 300.cpp ├── 3046. Split the Array │ └── 3046.py ├── 3054. Binary Tree Nodes │ └── 3054.sql ├── 307. Range Sum Query - Mutable │ ├── 307-2.py │ └── 307.py ├── 3074. Apple Redistribution into Boxes │ ├── 3074-2.py │ └── 3074.py ├── 3083. Existence of a Substring in a String and Its Reverse │ └── 3083.py ├── 31. Next Permutation │ └── 31.cpp ├── 3101. Count Alternating Subarrays │ └── 3101.py ├── 311. Sparse Matrix Multiplication │ └── 311.cpp ├── 3114. Latest Time You Can Obtain After Replacing Characters │ └── 3114.py ├── 3128. Right Triangles │ └── 3128.py ├── 3168. Minimum Number of Chairs in a Waiting Room │ └── 3168.py ├── 3174. Clear Digits │ └── 3174.py ├── 3211. Generate Binary Strings Without Adjacent Zeros │ ├── 3211-2.py │ ├── 3211-3.py │ └── 3211.py ├── 322. Coin Change │ ├── 322-2.cpp │ └── 322.cpp ├── 3232. Find if Digit Game Can Be Won │ └── 3232.py ├── 325. Maximum Size Subarray Sum Equals k │ ├── 325-2.cpp │ ├── 325-3.cpp │ ├── 325-4.cpp │ ├── 325-5.cpp │ └── 325.cpp ├── 328. Odd Even Linked List │ └── 328.cpp ├── 329. Longest Increasing Path in a Matrix │ └── 329.py ├── 33. Search in Rotated Sorted Array │ ├── 33.cpp │ └── 33.java ├── 334. Increasing Triplet Subsequence │ ├── 334.cpp │ └── 334.py ├── 339. Nested List Weight Sum │ └── 339.cpp ├── 34. Find First and Last Position of Element in Sorted Array │ ├── 34-2.cpp │ ├── 34.cpp │ └── 34.js ├── 340. Longest Substring with At Most K Distinct Characters │ └── 340.cpp ├── 342. Power of Four │ ├── 342-2.cpp │ └── 342.cpp ├── 346. Moving Average from Data Stream │ └── 346.cpp ├── 347. Top K Frequent Elements │ ├── 347-2.cpp │ └── 347.cpp ├── 348. Design Tic-Tac-Toe │ └── 348.cpp ├── 350. Intersection of Two Arrays II │ ├── 350-2.cpp │ ├── 350.cpp │ ├── 350.java │ └── 350.js ├── 353. Design Snake Game │ └── 353.cpp ├── 357. Count Numbers with Unique Digits │ └── 357.py ├── 359. Logger Rate Limiter │ ├── 359.cpp │ └── 359.java ├── 362. Design Hit Counter │ ├── 362-2.cpp │ └── 362.cpp ├── 366. Find Leaves of Binary Tree │ ├── 366.cpp │ ├── 366.java │ └── 366.py ├── 367. Valid Perfect Square │ ├── 367-2.cpp │ ├── 367-3.cpp │ ├── 367-4.cpp │ └── 367.cpp ├── 37. Sudoku Solver │ └── 37.cpp ├── 374. Guess Number Higher or Lower │ ├── 374-2.cpp │ └── 374.cpp ├── 377. Combination Sum IV │ └── 377.py ├── 38. Count and Say │ └── 38.py ├── 384. Shuffle an Array │ └── 384.py ├── 387. First Unique Character in a String │ └── 387.py ├── 389. Find the Difference │ └── 389.py ├── 39. Combination Sum │ └── 39.cpp ├── 392. Is Subsequence │ └── 392.cpp ├── 393. UTF-8 Validation │ └── 393.cpp ├── 394. Decode String │ └── 394.cpp ├── 395. Longest Substring with At Least K Repeating Characters │ └── 395.cpp ├── 401. Binary Watch │ └── 401.cpp ├── 408. Valid Word Abbreviation │ └── 408.cpp ├── 409. Longest Palindrome │ ├── 409.cpp │ └── 409.py ├── 415. Add Strings │ ├── 415.cpp │ └── 415.py ├── 416. Partition Equal Subset Sum │ └── 416.cpp ├── 43. Multiply Strings │ └── 43.java ├── 433. Minimum Genetic Mutation │ └── 433.py ├── 434. Number of Segments in a String │ ├── 434.cpp │ └── 434.py ├── 437. Path Sum III │ └── 437.cpp ├── 438. Find All Anagrams in a String │ ├── 438.cpp │ └── 438.py ├── 441. Arranging Coins │ └── 441.py ├── 442. Find All Duplicates in an Array │ └── 442.py ├── 443. String Compression │ └── 443.cpp ├── 445. Add Two Numbers II │ └── 445.cpp ├── 448. Find All Numbers Disappeared in an Array │ └── 448.py ├── 451. Sort Characters By Frequency │ ├── 451-2.cpp │ └── 451.cpp ├── 452. Minimum Number of Arrows to Burst Balloons │ └── 452.py ├── 47. Permutations II │ └── 47.cpp ├── 476. Number Complement │ ├── 476-2.java │ ├── 476-3.java │ ├── 476.cpp │ ├── 476.java │ └── 476.js ├── 477. Total Hamming Distance │ └── 477.cpp ├── 48. Rotate Image │ └── 48.py ├── 482. License Key Formatting │ ├── 482-2.cpp │ └── 482.cpp ├── 49. Group Anagrams │ ├── 49.cpp │ └── 49.py ├── 492. Construct the Rectangle │ ├── 492-2.java │ ├── 492-3.java │ └── 492.java ├── 50. Pow(x, n) │ └── 50.cpp ├── 500. Keyboard Row │ └── 500.py ├── 501. Find Mode in Binary Search Tree │ ├── 501-2.cpp │ ├── 501-3.cpp │ └── 501.cpp ├── 504. Base 7 │ ├── 504-2.cpp │ ├── 504-3.cpp │ └── 504.cpp ├── 507. Perfect Number │ ├── 507-2.cpp │ └── 507.cpp ├── 508. Most Frequent Subtree Sum │ └── 508.cpp ├── 5087. Letter Tile Possibilities │ └── 5087.cpp ├── 51. N-Queens │ └── 51.cpp ├── 513. Find Bottom Left Tree Value │ └── 513.py ├── 515. Find Largest Value in Each Tree Row │ ├── 515-2.cpp │ └── 515.cpp ├── 516. Longest Palindromic Subsequence │ └── 516.py ├── 518. Coin Change 2 │ └── 518.cpp ├── 52. N-Queens II │ └── 52.cpp ├── 520. Detect Capital │ └── 520.js ├── 525. Contiguous Array │ └── 525.cpp ├── 532. K-diff Pairs in an Array │ ├── 532-2.cpp │ ├── 532-3.cpp │ └── 532.cpp ├── 536. Construct Binary Tree from String │ └── 536.cpp ├── 537. Complex Number Multiplication │ ├── 537.cpp │ └── 537.js ├── 538. Convert BST to Greater Tree │ ├── 538-2.cpp │ └── 538.cpp ├── 541. Reverse String II │ └── 541.cpp ├── 543. Diameter of Binary Tree │ └── 543.cpp ├── 5453. Running Sum of 1d Array │ └── 5453.cpp ├── 55. Jump Game │ └── 55.cpp ├── 557. Reverse Words in a String III │ ├── 557-2.cpp │ ├── 557.cpp │ └── 557.java ├── 559. Maximum Depth of N-ary Tree │ └── 559.py ├── 56. Merge Intervals │ └── 56.py ├── 560. Subarray Sum Equals K │ ├── 560-2.cpp │ ├── 560-3.cpp │ ├── 560-4.cpp │ └── 560.cpp ├── 566. Reshape the Matrix │ ├── 566-2.cpp │ ├── 566-3.cpp │ ├── 566-4.cpp │ └── 566.cpp ├── 570. Managers with at Least 5 Direct Reports │ ├── 570-2.sql │ └── 570.sql ├── 572. Subtree of Another Tree │ ├── 572-2.cpp │ └── 572.cpp ├── 576. Out of Boundary Paths │ └── 576.py ├── 577. Employee Bonus │ └── 577.sql ├── 582. Kill Process │ ├── 582-2.cpp │ └── 582.cpp ├── 584. Find Customer Referee │ └── 584.sql ├── 589. N-ary Tree Preorder Traversal │ └── 589.py ├── 59. Spiral Matrix II │ └── 59.java ├── 593. Valid Square │ ├── 593.cpp │ └── 593.java ├── 594. Longest Harmonious Subsequence │ └── 594.cpp ├── 6. ZigZag Conversion │ └── 6.cpp ├── 606. Construct String from Binary Tree │ └── 606.cpp ├── 608. Tree Node │ ├── 608-2.sql │ ├── 608-3.sql │ ├── 608-4.sql │ └── 608.sql ├── 609. Find Duplicate File in System │ └── 609.js ├── 612. Shortest Distance in a Plane │ ├── 612-2.sql │ ├── 612-3.sql │ ├── 612-4.sql │ └── 612.sql ├── 619. Biggest Single Number │ └── 619.sql ├── 627. Swap Salary │ ├── 627-2.sql │ └── 627.sql ├── 628. Maximum Product of Three Numbers │ ├── 628-2.cpp │ └── 628.cpp ├── 633. Sum of Square Numbers │ ├── 633-2.cpp │ └── 633.cpp ├── 634. Find the Derangement of An Array │ └── 634.py ├── 637. Average of Levels in Binary Tree │ ├── 637-2.cpp │ ├── 637-3.cpp │ └── 637.cpp ├── 643. Maximum Average Subarray I │ ├── 643-2.js │ ├── 643.cpp │ ├── 643.java │ └── 643.js ├── 645. Set Mismatch │ ├── 645-2.cpp │ ├── 645-3.cpp │ └── 645.cpp ├── 647. Palindromic Substrings │ ├── 647-2.cpp │ └── 647.cpp ├── 650. 2 Keys Keyboard │ └── 650.py ├── 653. Two Sum IV Input is a BST │ ├── 653-2.cpp │ ├── 653-2.java │ ├── 653-3.cpp │ ├── 653-3.java │ ├── 653.cpp │ └── 653.java ├── 654. Maximum Binary Tree │ ├── 654-2.cpp │ └── 654.cpp ├── 661. Image Smoother │ ├── 661.cpp │ └── 661.java ├── 663. Equal Tree Partition │ └── 663.py ├── 669. Trim a Binary Search Tree │ └── 669.cpp ├── 671. Second Minimum Node In a Binary Tree │ ├── 671-2.java │ ├── 671-3.java │ ├── 671-4.java │ ├── 671-5.java │ └── 671.java ├── 679. 24 Game │ └── 679.cpp ├── 680. Valid Palindrome II │ └── 680.cpp ├── 681. Next Closest Time │ └── 681.cpp ├── 684. Redundant Connection │ └── 684.cpp ├── 686. Repeated String Match │ ├── 686-2.js │ └── 686.js ├── 690. Employee Importance │ ├── 690-2.cpp │ ├── 690-2.java │ ├── 690.cpp │ └── 690.java ├── 693. Binary Number with Alternating Bits │ ├── 693-2.cpp │ └── 693.cpp ├── 700. Search in a Binary Search Tree │ ├── 700-2.cpp │ ├── 700-2.js │ ├── 700-3.cpp │ ├── 700.cpp │ ├── 700.java │ └── 700.js ├── 701. Insert into a Binary Search Tree │ ├── 701-2.cpp │ └── 701.cpp ├── 703. Kth Largest Element in a Stream │ └── 703.cpp ├── 704. Binary Search │ └── 704.java ├── 706. Design HashMap │ └── 706.py ├── 709. To Lower Case │ ├── 709-2.cpp │ ├── 709.c │ └── 709.cpp ├── 724. Find Pivot Index │ ├── 724-2.cpp │ └── 724.cpp ├── 73. Set Matrix Zeroes │ └── 73.py ├── 733. Flood Fill │ ├── 733-2.cpp │ └── 733.cpp ├── 74. Search a 2D Matrix │ ├── 74-2.cpp │ ├── 74-3.cpp │ └── 74.cpp ├── 742. Closest Leaf in a Binary Tree │ └── 742.py ├── 743. Network Delay Time │ └── 743.py ├── 744. Find Smallest Letter Greater Than Target │ ├── 744-2.cpp │ ├── 744-3.cpp │ ├── 744.cpp │ └── 744.js ├── 746. Min Cost Climbing Stairs │ ├── 746-2.cpp │ └── 746.cpp ├── 747. Largest Number At Least Twice of Others │ └── 747.cpp ├── 758. Bold Words in String │ └── 758.cpp ├── 760. Find Anagram Mappings │ ├── 760-2.cpp │ ├── 760.cpp │ └── 760.java ├── 762. Prime Number of Set Bits in Binary Representation │ ├── 762.cpp │ └── 762.py ├── 766. Toeplitz Matrix │ ├── 766-2.cpp │ └── 766.cpp ├── 77. Combinations │ └── 77.py ├── 779. K-th Symbol in Grammar │ └── 779.py ├── 783. Minimum Distance Between BST Nodes │ └── 783.py ├── 791. Custom Sort String │ ├── 791-2.cpp │ └── 791.cpp ├── 797. All Paths From Source to Target │ └── 797.py ├── 799. Champagne Tower │ └── 799.py ├── 804. Unique Morse Code Words │ ├── 804.cpp │ └── 804.java ├── 806. Number of Lines to Write String │ ├── 806-2.java │ ├── 806.cpp │ └── 806.java ├── 811. Subdomain Visit Count │ ├── 811-2.cpp │ └── 811.cpp ├── 812. Largest Triangle Area │ └── 812.cpp ├── 814. Binary Tree Pruning │ ├── 814-2.cpp │ └── 814.cpp ├── 819. Most Common Word │ ├── 819-2.cpp │ └── 819.cpp ├── 82. Remove Duplicates from Sorted List II │ └── 82.cpp ├── 821. Shortest Distance to a Character │ ├── 821-2.cpp │ └── 821.cpp ├── 83. Remove Duplicates from Sorted List │ ├── 83-2.py │ └── 83.py ├── 830. Positions of Large Groups │ ├── 830.cpp │ └── 830.java ├── 836. Rectangle Overlap │ └── 836.cpp ├── 841. Keys and Rooms │ └── 841.cpp ├── 842. Split Array into Fibonacci Sequence │ └── 842.cpp ├── 844. Backspace String Compare │ ├── 844.cpp │ ├── 844.java │ └── 844.js ├── 845. Longest Mountain in Array │ └── 845.cpp ├── 856. Score of Parentheses │ ├── 856-2.cpp │ ├── 856-3.cpp │ ├── 856-4.cpp │ └── 856.cpp ├── 859. Buddy Strings │ └── 859.cpp ├── 860. Lemonade Change │ └── 860.cpp ├── 867. Transpose Matrix │ └── 867.cpp ├── 869. Reordered Power of 2 │ └── 869.py ├── 872. Leaf-Similar Trees │ └── 872.py ├── 873. Length of Longest Fibonacci Subsequence │ ├── 873-2.cpp │ └── 873.cpp ├── 874. Walking Robot Simulation │ └── 874.cpp ├── 875. Koko Eating Bananas │ └── 875.py ├── 876. Middle of the Linked List │ ├── 876-2.cpp │ └── 876.cpp ├── 883. Projection Area of 3D Shapes │ └── 883.cpp ├── 884. Uncommon Words from Two Sentences │ ├── 884-2.java │ └── 884.java ├── 889. Construct Binary Tree from Preorder and Postorder Traversal │ └── 889.cpp ├── 89. Gray Code │ └── 89.py ├── 892. Surface Area of 3D Shapes │ ├── 892-2.cpp │ ├── 892.cpp │ └── 892.py ├── 895. Maximum Frequency Stack │ └── 895.cpp ├── 896. Monotonic Array │ ├── 869.cpp │ └── 896-2.cpp ├── 897. Increasing Order Search Tree │ ├── 897-2.cpp │ ├── 897-3.cpp │ ├── 897.cpp │ └── 897.py ├── 9. Palindrome Number │ └── 9.cpp ├── 905. Sort Array By Parity │ ├── 905-2.cpp │ ├── 905-3.cpp │ ├── 905-4.cpp │ └── 905.cpp ├── 908. Smallest Range I │ └── 908.cpp ├── 91. Decode Ways │ └── 91.cpp ├── 912. Sort an Array │ ├── 912.cpp │ ├── 912.js │ └── 912.py ├── 914. X of a Kind in a Deck of Cards │ └── 914.py ├── 915. Partition Array into Disjoint Intervals │ └── 915.cpp ├── 917. Reverse Only Letters │ ├── 917-2.cpp │ ├── 917.cpp │ └── 917.java ├── 921. Minimum Add to Make Parentheses Valid │ └── 921.cpp ├── 922. Sort Array By Parity II │ ├── 922-2.cpp │ ├── 922-3.cpp │ └── 922.cpp ├── 929. Unique Email Addresses │ ├── 929-2.cpp │ ├── 929.cpp │ └── 929.js ├── 931. Minimum Falling Path Sum │ └── 931.cpp ├── 933. Number of Recent Calls │ ├── 933.cpp │ └── 933.java ├── 937. Reorder Data in Log Files │ └── 937.cpp ├── 938. Range Sum of BST │ ├── 938-2.cpp │ └── 938.cpp ├── 94. Binary Tree Inorder Traversal │ └── 94.py ├── 941. Valid Mountain Array │ ├── 941.cpp │ └── 941.java ├── 942. DI String Match │ ├── 942.cpp │ └── 942.java ├── 944. Delete Columns to Make Sorted │ └── 944.cpp ├── 945. Minimum Increment to Make Array Unique │ └── 945.py ├── 946. Validate Stack Sequences │ └── 946.cpp ├── 949. Largest Time for Given Digits │ └── 949.cpp ├── 951. Flip Equivalent Binary Trees │ ├── 951-2.cpp │ └── 951.cpp ├── 953. Verifying an Alien Dictionary │ └── 953.cpp ├── 958. Check Completeness of a Binary Tree │ ├── 958.cpp │ └── 958.java ├── 96. Unique Binary Search Trees │ └── 96.py ├── 961. N-Repeated Element in Size 2N Array │ ├── 961-2.cpp │ ├── 961-2.java │ ├── 961-2.php │ ├── 961-2.py │ ├── 961-3.cpp │ ├── 961-3.java │ ├── 961-4.cpp │ ├── 961.cpp │ ├── 961.java │ ├── 961.js │ ├── 961.php │ └── 961.py ├── 965. Univalued Binary Tree │ ├── 965-2.cpp │ └── 965.cpp ├── 967. Numbers With Same Consecutive Differences │ └── 967.py ├── 969. Pancake Sorting │ └── 969.cpp ├── 970. Powerful Integers │ └── 970.cpp ├── 973. K Closest Points to Origin │ ├── 973.cpp │ └── 973.java ├── 976. Largest Perimeter Triangle │ ├── 976.cpp │ ├── 976.java │ └── 976.py ├── 98. Validate Binary Search Tree │ └── 98.py ├── 985. Sum of Even Numbers After Queries │ ├── 985.java │ └── 985.js ├── 986. Interval List Intersections │ └── 986.cpp ├── 987. Vertical Order Traversal of a Binary Tree │ └── 987.cpp ├── 988. Smallest String Starting From Leaf │ └── 988.cpp ├── 991. Broken Calculator │ └── 991.cpp ├── 993. Cousins in Binary Tree │ ├── 993-2.cpp │ └── 993.cpp ├── 994. Rotting Oranges │ └── 994.cpp ├── 997. Find the Town Judge │ └── 997.java ├── 999. Available Captures for Rook │ └── 999.cpp ├── ARRAY.md ├── BACKTRACKING.md ├── BFS.md ├── BINARY NUMBER.md ├── BINARY SEARCH.md ├── BINARY TREE.md ├── BINARY.md ├── BIT HACKS.md ├── BIT.md ├── BITMASK.md ├── BITSET.md ├── BRUTEFORCE.md ├── COUNTING.md ├── DATE.md ├── DECISION TREE.md ├── DEQUE.md ├── DESIGN.md ├── DFS.md ├── DIVIDE-AND-CONQUER.md ├── DP.md ├── EASY.md ├── FIBONACCI.md ├── GAME.md ├── GCD.md ├── GEOMETRY.md ├── GRAPH.md ├── GREEDY.md ├── GRID.md ├── GROUPBY.md ├── GenerateIndex.sh ├── HARD.md ├── HASH MAP.md ├── HEAP.md ├── INTERVAL.md ├── Indexing.sh ├── KNAPSACK.md ├── LAMBDA.md ├── LINE SWEEP.md ├── LINKED LIST.md ├── LONGEST INCREASE SEQUENCE.md ├── LRU.md ├── MATH.md ├── MATRIX.md ├── MEDIUM.md ├── MEMOIZATION.md ├── MULTI SET.md ├── PALINDROME.md ├── PARENTHESES.md ├── PARTITION.md ├── PERMUTATION.md ├── PREFIX SUM.md ├── PRIORITY QUEUE.md ├── QUEUE.md ├── RANDOM.md ├── README.md ├── RECURSION.md ├── REGEXP.md ├── SEARCH.md ├── SEGMENT TREE.md ├── SET.md ├── SIMULATION.md ├── SLIDING WINDOW.md ├── SORTING.md ├── SQL.md ├── SQRT DECOMPOSITION.md ├── STACK.md ├── STRING.md ├── THREADING.md ├── TOPOLOGICAL SORT.md ├── TREE.md ├── TRIANGLE.md ├── TRIE.md ├── TWO POINTER.md ├── UNION FIND.md ├── XOR.md ├── list.py └── meta.sh ├── template ├── BIT.cpp ├── DSU.cpp ├── DSU.py ├── SegmentTree.cpp ├── Trie.cpp ├── Trie.py ├── UnionFind.py ├── cout-vector.cpp ├── kickstart.cpp ├── shortest-path-algorithms.cpp ├── shortest-path-algorithms.py └── split_string.cpp └── timus ├── 1000. A-B Problem └── 1000.cpp ├── 1017. Staircases └── 1017.cpp ├── GenerateIndex.sh ├── Indexing.sh └── README.md /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/README.md -------------------------------------------------------------------------------- /binarysearch/.cpp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/.cpp.md -------------------------------------------------------------------------------- /binarysearch/.py.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/.py.md -------------------------------------------------------------------------------- /binarysearch/0-1-Knapsack/0-1-Knapsack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/0-1-Knapsack/0-1-Knapsack.py -------------------------------------------------------------------------------- /binarysearch/123-Number-Flip/123-Number-Flip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/123-Number-Flip/123-Number-Flip.py -------------------------------------------------------------------------------- /binarysearch/3-and-7/3-and-7.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/3-and-7/3-and-7.py -------------------------------------------------------------------------------- /binarysearch/A-Flight-of-Stairs/A-Flight-of-Stairs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/A-Flight-of-Stairs/A-Flight-of-Stairs.py -------------------------------------------------------------------------------- /binarysearch/A-unique-string/A-unique-string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/A-unique-string/A-unique-string.cpp -------------------------------------------------------------------------------- /binarysearch/ARRAY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/ARRAY.md -------------------------------------------------------------------------------- /binarysearch/Acronym/Acronym.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Acronym/Acronym.cpp -------------------------------------------------------------------------------- /binarysearch/Add-Linked-Lists/Add-Linked-Lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Add-Linked-Lists/Add-Linked-Lists.py -------------------------------------------------------------------------------- /binarysearch/All-Sublists-Sum/All-Sublists-Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/All-Sublists-Sum/All-Sublists-Sum.cpp -------------------------------------------------------------------------------- /binarysearch/Anagram-Substrings/Anagram-Substrings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Anagram-Substrings/Anagram-Substrings.py -------------------------------------------------------------------------------- /binarysearch/As-Before-Bs/As-Before-Bs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/As-Before-Bs/As-Before-Bs.cpp -------------------------------------------------------------------------------- /binarysearch/Atbash-Cipher/Atbash-Cipher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Atbash-Cipher/Atbash-Cipher.cpp -------------------------------------------------------------------------------- /binarysearch/BFS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/BFS.md -------------------------------------------------------------------------------- /binarysearch/BINARY SEARCH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/BINARY SEARCH.md -------------------------------------------------------------------------------- /binarysearch/BIT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/BIT.md -------------------------------------------------------------------------------- /binarysearch/BST.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/BST.md -------------------------------------------------------------------------------- /binarysearch/Base-3-to-Integer/Base-3-to-Integer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Base-3-to-Integer/Base-3-to-Integer.cpp -------------------------------------------------------------------------------- /binarysearch/Beer-Bottles/Beer-Bottles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Beer-Bottles/Beer-Bottles.py -------------------------------------------------------------------------------- /binarysearch/Big-Numbers/Big-Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Big-Numbers/Big-Numbers.cpp -------------------------------------------------------------------------------- /binarysearch/Binary-Tree-Width/Binary-Tree-Width.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Binary-Tree-Width/Binary-Tree-Width.py -------------------------------------------------------------------------------- /binarysearch/Brick-Layout/Brick-Layout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Brick-Layout/Brick-Layout.py -------------------------------------------------------------------------------- /binarysearch/Buying-Cars/Buying-Cars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Buying-Cars/Buying-Cars.py -------------------------------------------------------------------------------- /binarysearch/CCCXXVV/CCCXXVV.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/CCCXXVV/CCCXXVV.py -------------------------------------------------------------------------------- /binarysearch/CPU-Scheduling/CPU-Scheduling.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/CPU-Scheduling/CPU-Scheduling.cpp -------------------------------------------------------------------------------- /binarysearch/Caesar-Cipher/Caesar-Cipher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Caesar-Cipher/Caesar-Cipher.cpp -------------------------------------------------------------------------------- /binarysearch/Candy-Race/Candy-Race.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Candy-Race/Candy-Race.py -------------------------------------------------------------------------------- /binarysearch/Chain-of-Blocks/Chain-of-Blocks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Chain-of-Blocks/Chain-of-Blocks.cpp -------------------------------------------------------------------------------- /binarysearch/Clock-Angle/Clock-Angle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Clock-Angle/Clock-Angle.py -------------------------------------------------------------------------------- /binarysearch/Collatz-Sequence/Collatz-Sequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Collatz-Sequence/Collatz-Sequence.cpp -------------------------------------------------------------------------------- /binarysearch/Column-Sort/Column-Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Column-Sort/Column-Sort.cpp -------------------------------------------------------------------------------- /binarysearch/Compress-String/Compress-String.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Compress-String/Compress-String.py -------------------------------------------------------------------------------- /binarysearch/Consecutive-Ones/Consecutive-Ones.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Consecutive-Ones/Consecutive-Ones.cpp -------------------------------------------------------------------------------- /binarysearch/Contained-Interval/Contained-Interval.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Contained-Interval/Contained-Interval.cpp -------------------------------------------------------------------------------- /binarysearch/Count-Exact-Sum/Count-Exact-Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Count-Exact-Sum/Count-Exact-Sum.cpp -------------------------------------------------------------------------------- /binarysearch/Count-Next-Element/Count-Next-Element.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Count-Next-Element/Count-Next-Element.py -------------------------------------------------------------------------------- /binarysearch/Course-Scheduling/Course-Scheduling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Course-Scheduling/Course-Scheduling.py -------------------------------------------------------------------------------- /binarysearch/DFS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/DFS.md -------------------------------------------------------------------------------- /binarysearch/DIVIDE-AND-CONQUER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/DIVIDE-AND-CONQUER.md -------------------------------------------------------------------------------- /binarysearch/DP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/DP.md -------------------------------------------------------------------------------- /binarysearch/Danny-Heap/Danny-Heap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Danny-Heap/Danny-Heap.cpp -------------------------------------------------------------------------------- /binarysearch/Delete-Even-Leaves/Delete-Even-Leaves.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Delete-Even-Leaves/Delete-Even-Leaves.cpp -------------------------------------------------------------------------------- /binarysearch/Diagonal-Sort/Diagonal-Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Diagonal-Sort/Diagonal-Sort.cpp -------------------------------------------------------------------------------- /binarysearch/EASY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/EASY.md -------------------------------------------------------------------------------- /binarysearch/Elephant-Tree/Elephant-Tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Elephant-Tree/Elephant-Tree.py -------------------------------------------------------------------------------- /binarysearch/Equivalent-Pairs/Equivalent-Pairs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Equivalent-Pairs/Equivalent-Pairs.py -------------------------------------------------------------------------------- /binarysearch/Escape-Maze/Escape-Maze.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Escape-Maze/Escape-Maze.py -------------------------------------------------------------------------------- /binarysearch/Even-Frequency/Even-Frequency.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Even-Frequency/Even-Frequency.cpp -------------------------------------------------------------------------------- /binarysearch/Factorial-Sum/Factorial-Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Factorial-Sum/Factorial-Sum.cpp -------------------------------------------------------------------------------- /binarysearch/First-Fit-Room/First-Fit-Room.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/First-Fit-Room/First-Fit-Room.py -------------------------------------------------------------------------------- /binarysearch/Fixed-Point/Fixed-Point.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Fixed-Point/Fixed-Point.py -------------------------------------------------------------------------------- /binarysearch/FizzBuzz/FizzBuzz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/FizzBuzz/FizzBuzz.py -------------------------------------------------------------------------------- /binarysearch/Flight-Itinerary/Flight-Itinerary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Flight-Itinerary/Flight-Itinerary.py -------------------------------------------------------------------------------- /binarysearch/Flip-to-Zeros/Flip-to-Zeros.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Flip-to-Zeros/Flip-to-Zeros.py -------------------------------------------------------------------------------- /binarysearch/GCD.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/GCD.md -------------------------------------------------------------------------------- /binarysearch/GRAPH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/GRAPH.md -------------------------------------------------------------------------------- /binarysearch/GREEDY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/GREEDY.md -------------------------------------------------------------------------------- /binarysearch/Generate-Primes/Generate-Primes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Generate-Primes/Generate-Primes.py -------------------------------------------------------------------------------- /binarysearch/Group-Integers/Group-Integers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Group-Integers/Group-Integers.py -------------------------------------------------------------------------------- /binarysearch/HARD.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/HARD.md -------------------------------------------------------------------------------- /binarysearch/HARDER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/HARDER.md -------------------------------------------------------------------------------- /binarysearch/HASH TABLE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/HASH TABLE.md -------------------------------------------------------------------------------- /binarysearch/HEAP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/HEAP.md -------------------------------------------------------------------------------- /binarysearch/IP-Address/IP-Address.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/IP-Address/IP-Address.py -------------------------------------------------------------------------------- /binarysearch/Index.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Index.sh -------------------------------------------------------------------------------- /binarysearch/Inorder-Successor/Inorder-Successor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Inorder-Successor/Inorder-Successor.py -------------------------------------------------------------------------------- /binarysearch/Interleaved-String/Interleaved-String.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Interleaved-String/Interleaved-String.py -------------------------------------------------------------------------------- /binarysearch/Interval-Overlaps/Interval-Overlaps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Interval-Overlaps/Interval-Overlaps.py -------------------------------------------------------------------------------- /binarysearch/Just-Average/Just-Average.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Just-Average/Just-Average.py -------------------------------------------------------------------------------- /binarysearch/K-Distinct-Window/K-Distinct-Window.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/K-Distinct-Window/K-Distinct-Window.cpp -------------------------------------------------------------------------------- /binarysearch/K-and-K/K-and-K.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/K-and-K/K-and-K.py -------------------------------------------------------------------------------- /binarysearch/LINE SWEEPING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/LINE SWEEPING.md -------------------------------------------------------------------------------- /binarysearch/LINKED LIST.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/LINKED LIST.md -------------------------------------------------------------------------------- /binarysearch/Last-Value-Map/Last-Value-Map.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Last-Value-Map/Last-Value-Map.cpp -------------------------------------------------------------------------------- /binarysearch/Latin-Square/Latin-Square.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Latin-Square/Latin-Square.cpp -------------------------------------------------------------------------------- /binarysearch/Leaderboard/Leaderboard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Leaderboard/Leaderboard.py -------------------------------------------------------------------------------- /binarysearch/Line-of-People/Line-of-People.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Line-of-People/Line-of-People.py -------------------------------------------------------------------------------- /binarysearch/Linked-List-Jumps/Linked-List-Jumps.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Linked-List-Jumps/Linked-List-Jumps.cpp -------------------------------------------------------------------------------- /binarysearch/Linked-List-Jumps/Linked-List-Jumps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Linked-List-Jumps/Linked-List-Jumps.py -------------------------------------------------------------------------------- /binarysearch/Linked-List-Union/Linked-List-Union.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Linked-List-Union/Linked-List-Union.py -------------------------------------------------------------------------------- /binarysearch/List-Calculator/List-Calculator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/List-Calculator/List-Calculator.cpp -------------------------------------------------------------------------------- /binarysearch/Longest-Interval/Longest-Interval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Longest-Interval/Longest-Interval.py -------------------------------------------------------------------------------- /binarysearch/Longest-Tree-Path/Longest-Tree-Path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Longest-Tree-Path/Longest-Tree-Path.py -------------------------------------------------------------------------------- /binarysearch/MATH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/MATH.md -------------------------------------------------------------------------------- /binarysearch/MATRIX.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/MATRIX.md -------------------------------------------------------------------------------- /binarysearch/MEDIUM.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/MEDIUM.md -------------------------------------------------------------------------------- /binarysearch/MEMOIZATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/MEMOIZATION.md -------------------------------------------------------------------------------- /binarysearch/MERGE SORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/MERGE SORT.md -------------------------------------------------------------------------------- /binarysearch/Make-Strings-Same/Make-Strings-Same.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Make-Strings-Same/Make-Strings-Same.cpp -------------------------------------------------------------------------------- /binarysearch/Making-Change/Making-Change.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Making-Change/Making-Change.py -------------------------------------------------------------------------------- /binarysearch/Matrix-Prefix-Sum/Matrix-Prefix-Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Matrix-Prefix-Sum/Matrix-Prefix-Sum.cpp -------------------------------------------------------------------------------- /binarysearch/Matrix-Prefix-Sum/Matrix-Prefix-Sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Matrix-Prefix-Sum/Matrix-Prefix-Sum.py -------------------------------------------------------------------------------- /binarysearch/Minimax-Tree/Minimax-Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Minimax-Tree/Minimax-Tree.cpp -------------------------------------------------------------------------------- /binarysearch/Minimum-Cost-Sort/Minimum-Cost-Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Minimum-Cost-Sort/Minimum-Cost-Sort.cpp -------------------------------------------------------------------------------- /binarysearch/Mixed-Sorting/Mixed-Sorting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Mixed-Sorting/Mixed-Sorting.cpp -------------------------------------------------------------------------------- /binarysearch/Multiset-Sum/Multiset-Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Multiset-Sum/Multiset-Sum.cpp -------------------------------------------------------------------------------- /binarysearch/N-Queens-Puzzle/N-Queens-Puzzle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/N-Queens-Puzzle/N-Queens-Puzzle.py -------------------------------------------------------------------------------- /binarysearch/N-Rooks/N-Rooks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/N-Rooks/N-Rooks.py -------------------------------------------------------------------------------- /binarysearch/No-New-Friends/No-New-Friends.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/No-New-Friends/No-New-Friends.py -------------------------------------------------------------------------------- /binarysearch/Noisy-Palindrome/Noisy-Palindrome.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Noisy-Palindrome/Noisy-Palindrome.py -------------------------------------------------------------------------------- /binarysearch/Number-of-Bits/Number-of-Bits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Number-of-Bits/Number-of-Bits.py -------------------------------------------------------------------------------- /binarysearch/Number-of-Hops/Number-of-Hops.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Number-of-Hops/Number-of-Hops.cpp -------------------------------------------------------------------------------- /binarysearch/Number-of-Islands/Number-of-Islands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Number-of-Islands/Number-of-Islands.py -------------------------------------------------------------------------------- /binarysearch/ONE-LINER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/ONE-LINER.md -------------------------------------------------------------------------------- /binarysearch/Odd-Palindrome/Odd-Palindrome.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Odd-Palindrome/Odd-Palindrome.py -------------------------------------------------------------------------------- /binarysearch/Only-Child/Only-Child.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Only-Child/Only-Child.cpp -------------------------------------------------------------------------------- /binarysearch/PREFIX SUM.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/PREFIX SUM.md -------------------------------------------------------------------------------- /binarysearch/PRIORITY QUEUE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/PRIORITY QUEUE.md -------------------------------------------------------------------------------- /binarysearch/Packing-Boxes/Packing-Boxes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Packing-Boxes/Packing-Boxes.py -------------------------------------------------------------------------------- /binarysearch/Paint-Bucket/Paint-Bucket.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Paint-Bucket/Paint-Bucket.cpp -------------------------------------------------------------------------------- /binarysearch/Palindrome-Count/Palindrome-Count.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Palindrome-Count/Palindrome-Count.cpp -------------------------------------------------------------------------------- /binarysearch/Palindrome-Count/Palindrome-Count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Palindrome-Count/Palindrome-Count.py -------------------------------------------------------------------------------- /binarysearch/Partition-String/Partition-String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Partition-String/Partition-String.cpp -------------------------------------------------------------------------------- /binarysearch/Partition-Tree/Partition-Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Partition-Tree/Partition-Tree.cpp -------------------------------------------------------------------------------- /binarysearch/Pascal's-Triangle/Pascal's-Triangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Pascal's-Triangle/Pascal's-Triangle.cpp -------------------------------------------------------------------------------- /binarysearch/Points-on-a-Line/Points-on-a-Line.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Points-on-a-Line/Points-on-a-Line.py -------------------------------------------------------------------------------- /binarysearch/Poly-Knapsack/Poly-Knapsack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Poly-Knapsack/Poly-Knapsack.py -------------------------------------------------------------------------------- /binarysearch/QUEUE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/QUEUE.md -------------------------------------------------------------------------------- /binarysearch/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/README.md -------------------------------------------------------------------------------- /binarysearch/RECURSION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/RECURSION.md -------------------------------------------------------------------------------- /binarysearch/RECURSIVE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/RECURSIVE.md -------------------------------------------------------------------------------- /binarysearch/ROLLING HASH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/ROLLING HASH.md -------------------------------------------------------------------------------- /binarysearch/Rate-Limiter/Rate-Limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Rate-Limiter/Rate-Limiter.py -------------------------------------------------------------------------------- /binarysearch/Recursive-Index/Recursive-Index.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Recursive-Index/Recursive-Index.cpp -------------------------------------------------------------------------------- /binarysearch/Remove-One-Letter/Remove-One-Letter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Remove-One-Letter/Remove-One-Letter.cpp -------------------------------------------------------------------------------- /binarysearch/Repeating-String/Repeating-String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Repeating-String/Repeating-String.cpp -------------------------------------------------------------------------------- /binarysearch/Reverse-Graph/Reverse-Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Reverse-Graph/Reverse-Graph.cpp -------------------------------------------------------------------------------- /binarysearch/Reverse-Words/Reverse-Words.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Reverse-Words/Reverse-Words.py -------------------------------------------------------------------------------- /binarysearch/Robinhood/Robinhood.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Robinhood/Robinhood.cpp -------------------------------------------------------------------------------- /binarysearch/Rocketship-Rescue/Rocketship-Rescue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Rocketship-Rescue/Rocketship-Rescue.py -------------------------------------------------------------------------------- /binarysearch/Rod-Cutting/Rod-Cutting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Rod-Cutting/Rod-Cutting.py -------------------------------------------------------------------------------- /binarysearch/Roomba/Roomba.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Roomba/Roomba.py -------------------------------------------------------------------------------- /binarysearch/SEARCH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/SEARCH.md -------------------------------------------------------------------------------- /binarysearch/SIMULATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/SIMULATION.md -------------------------------------------------------------------------------- /binarysearch/SLIDING WINDOW.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/SLIDING WINDOW.md -------------------------------------------------------------------------------- /binarysearch/SORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/SORT.md -------------------------------------------------------------------------------- /binarysearch/STACK.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/STACK.md -------------------------------------------------------------------------------- /binarysearch/STRING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/STRING.md -------------------------------------------------------------------------------- /binarysearch/SUFFIX.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/SUFFIX.md -------------------------------------------------------------------------------- /binarysearch/SWAP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/SWAP.md -------------------------------------------------------------------------------- /binarysearch/Search-Engine/Search-Engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Search-Engine/Search-Engine.py -------------------------------------------------------------------------------- /binarysearch/Sentence-Reversal/Sentence-Reversal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Sentence-Reversal/Sentence-Reversal.py -------------------------------------------------------------------------------- /binarysearch/Set-Split/Set-Split.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Set-Split/Set-Split.cpp -------------------------------------------------------------------------------- /binarysearch/Shortest-String/Shortest-String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Shortest-String/Shortest-String.cpp -------------------------------------------------------------------------------- /binarysearch/Sibling-Tree-Value/Sibling-Tree-Value.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Sibling-Tree-Value/Sibling-Tree-Value.cpp -------------------------------------------------------------------------------- /binarysearch/Sliding-Window-Max/Sliding-Window-Max.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Sliding-Window-Max/Sliding-Window-Max.cpp -------------------------------------------------------------------------------- /binarysearch/Sort-a-Linked-List/Sort-a-Linked-List.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Sort-a-Linked-List/Sort-a-Linked-List.py -------------------------------------------------------------------------------- /binarysearch/Spiral-Matrix/Spiral-Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Spiral-Matrix/Spiral-Matrix.cpp -------------------------------------------------------------------------------- /binarysearch/Split-List/Split-List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Split-List/Split-List.cpp -------------------------------------------------------------------------------- /binarysearch/Split-Product/Split-Product.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Split-Product/Split-Product.cpp -------------------------------------------------------------------------------- /binarysearch/Stepping-Numbers/Stepping-Numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Stepping-Numbers/Stepping-Numbers.py -------------------------------------------------------------------------------- /binarysearch/String-Addition/String-Addition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/String-Addition/String-Addition.cpp -------------------------------------------------------------------------------- /binarysearch/String-Sequence/String-Sequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/String-Sequence/String-Sequence.cpp -------------------------------------------------------------------------------- /binarysearch/Sudoku-Solver/Sudoku-Solver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Sudoku-Solver/Sudoku-Solver.py -------------------------------------------------------------------------------- /binarysearch/Sudoku-Validator/Sudoku-Validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Sudoku-Validator/Sudoku-Validator.py -------------------------------------------------------------------------------- /binarysearch/Sum-Tree/Sum-Tree-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Sum-Tree/Sum-Tree-2.cpp -------------------------------------------------------------------------------- /binarysearch/Sum-Tree/Sum-Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Sum-Tree/Sum-Tree.cpp -------------------------------------------------------------------------------- /binarysearch/Sum-of-the-digits/Sum-of-the-digits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Sum-of-the-digits/Sum-of-the-digits.cpp -------------------------------------------------------------------------------- /binarysearch/Surrounded-Islands/Surrounded-Islands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Surrounded-Islands/Surrounded-Islands.py -------------------------------------------------------------------------------- /binarysearch/TOPOLOGICAL SORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/TOPOLOGICAL SORT.md -------------------------------------------------------------------------------- /binarysearch/TRIE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/TRIE.md -------------------------------------------------------------------------------- /binarysearch/TWO POINTER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/TWO POINTER.md -------------------------------------------------------------------------------- /binarysearch/Task-Hare/Task-Hare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Task-Hare/Task-Hare.py -------------------------------------------------------------------------------- /binarysearch/The-Auditor/The-Auditor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/The-Auditor/The-Auditor.py -------------------------------------------------------------------------------- /binarysearch/Toeplitz-Matrix/Toeplitz-Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Toeplitz-Matrix/Toeplitz-Matrix.cpp -------------------------------------------------------------------------------- /binarysearch/Tree-Detection/Tree-Detection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Tree-Detection/Tree-Detection.py -------------------------------------------------------------------------------- /binarysearch/Tree-Sum/Tree-Sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Tree-Sum/Tree-Sum.py -------------------------------------------------------------------------------- /binarysearch/Tree-Traversal/Tree-Traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Tree-Traversal/Tree-Traversal.cpp -------------------------------------------------------------------------------- /binarysearch/Triangle-Triplets/Triangle-Triplets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Triangle-Triplets/Triangle-Triplets.py -------------------------------------------------------------------------------- /binarysearch/Trie/Trie.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Trie/Trie.cpp -------------------------------------------------------------------------------- /binarysearch/UCS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/UCS.md -------------------------------------------------------------------------------- /binarysearch/Ugly-Number/Ugly-Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Ugly-Number/Ugly-Number.cpp -------------------------------------------------------------------------------- /binarysearch/Unique-Ab-Strings/Unique-Ab-Strings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Unique-Ab-Strings/Unique-Ab-Strings.py -------------------------------------------------------------------------------- /binarysearch/Unique-Occurrences/Unique-Occurrences.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Unique-Occurrences/Unique-Occurrences.py -------------------------------------------------------------------------------- /binarysearch/Univalue-Tree/Univalue-Tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Univalue-Tree/Univalue-Tree.py -------------------------------------------------------------------------------- /binarysearch/Unlock-Rooms/Unlock-Rooms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Unlock-Rooms/Unlock-Rooms.py -------------------------------------------------------------------------------- /binarysearch/Valid-N-Queens/Valid-N-Queens.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Valid-N-Queens/Valid-N-Queens.cpp -------------------------------------------------------------------------------- /binarysearch/Verify-Max-Heap/Verify-Max-Heap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Verify-Max-Heap/Verify-Max-Heap.py -------------------------------------------------------------------------------- /binarysearch/Vertical-Cipher/Vertical-Cipher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Vertical-Cipher/Vertical-Cipher.cpp -------------------------------------------------------------------------------- /binarysearch/Vigenere-Cipher/Vigenere-Cipher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Vigenere-Cipher/Vigenere-Cipher.cpp -------------------------------------------------------------------------------- /binarysearch/Visible-Blocks/Visible-Blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Visible-Blocks/Visible-Blocks.py -------------------------------------------------------------------------------- /binarysearch/Word-Formation/Word-Formation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Word-Formation/Word-Formation.cpp -------------------------------------------------------------------------------- /binarysearch/Z-Sum/Z-Sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/Z-Sum/Z-Sum.py -------------------------------------------------------------------------------- /binarysearch/camelCase/camelCase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/camelCase/camelCase.cpp -------------------------------------------------------------------------------- /binarysearch/list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/binarysearch/list.py -------------------------------------------------------------------------------- /dynamic-programming.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/dynamic-programming.md -------------------------------------------------------------------------------- /leetcode/.c.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/.c.md -------------------------------------------------------------------------------- /leetcode/.cpp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/.cpp.md -------------------------------------------------------------------------------- /leetcode/.go.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/.go.md -------------------------------------------------------------------------------- /leetcode/.java.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/.java.md -------------------------------------------------------------------------------- /leetcode/.js.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/.js.md -------------------------------------------------------------------------------- /leetcode/.php.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/.php.md -------------------------------------------------------------------------------- /leetcode/.py.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/.py.md -------------------------------------------------------------------------------- /leetcode/.rs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/.rs.md -------------------------------------------------------------------------------- /leetcode/.sql.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/.sql.md -------------------------------------------------------------------------------- /leetcode/1002. Find Common Characters/1002.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1002. Find Common Characters/1002.cpp -------------------------------------------------------------------------------- /leetcode/1002. Find Common Characters/1002.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1002. Find Common Characters/1002.java -------------------------------------------------------------------------------- /leetcode/1006. Clumsy Factorial/1006.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1006. Clumsy Factorial/1006.cpp -------------------------------------------------------------------------------- /leetcode/101. Symmetric Tree/101.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/101. Symmetric Tree/101.py -------------------------------------------------------------------------------- /leetcode/1017. Convert to Base -2/1017-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1017. Convert to Base -2/1017-2.cpp -------------------------------------------------------------------------------- /leetcode/1017. Convert to Base -2/1017.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1017. Convert to Base -2/1017.cpp -------------------------------------------------------------------------------- /leetcode/1018. Binary Prefix Divisible By 5/1018.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1018. Binary Prefix Divisible By 5/1018.cpp -------------------------------------------------------------------------------- /leetcode/1018. Binary Prefix Divisible By 5/1018.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1018. Binary Prefix Divisible By 5/1018.java -------------------------------------------------------------------------------- /leetcode/1021. Remove Outermost Parentheses/1021.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1021. Remove Outermost Parentheses/1021.cpp -------------------------------------------------------------------------------- /leetcode/1027. Longest Arithmetic Sequence/1027.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1027. Longest Arithmetic Sequence/1027.cpp -------------------------------------------------------------------------------- /leetcode/1035. Uncrossed Lines/1035-2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1035. Uncrossed Lines/1035-2.py -------------------------------------------------------------------------------- /leetcode/1035. Uncrossed Lines/1035.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1035. Uncrossed Lines/1035.py -------------------------------------------------------------------------------- /leetcode/1037. Valid Boomerang/1037-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1037. Valid Boomerang/1037-2.cpp -------------------------------------------------------------------------------- /leetcode/1037. Valid Boomerang/1037-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1037. Valid Boomerang/1037-3.cpp -------------------------------------------------------------------------------- /leetcode/1037. Valid Boomerang/1037.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1037. Valid Boomerang/1037.cpp -------------------------------------------------------------------------------- /leetcode/1046. Last Stone Weight/1046.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1046. Last Stone Weight/1046.java -------------------------------------------------------------------------------- /leetcode/1087. Brace Expansion/1087-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1087. Brace Expansion/1087-2.cpp -------------------------------------------------------------------------------- /leetcode/1087. Brace Expansion/1087.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1087. Brace Expansion/1087.cpp -------------------------------------------------------------------------------- /leetcode/1094. Car Pooling/1094-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1094. Car Pooling/1094-2.cpp -------------------------------------------------------------------------------- /leetcode/1094. Car Pooling/1094.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1094. Car Pooling/1094.cpp -------------------------------------------------------------------------------- /leetcode/1099. Two Sum Less Than K/1099-1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1099. Two Sum Less Than K/1099-1.cpp -------------------------------------------------------------------------------- /leetcode/1099. Two Sum Less Than K/1099-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1099. Two Sum Less Than K/1099-2.cpp -------------------------------------------------------------------------------- /leetcode/11. Container With Most Water/11.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/11. Container With Most Water/11.py -------------------------------------------------------------------------------- /leetcode/110. Balanced Binary Tree/110.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/110. Balanced Binary Tree/110.cpp -------------------------------------------------------------------------------- /leetcode/111. Minimum Depth of Binary Tree/111.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/111. Minimum Depth of Binary Tree/111.cpp -------------------------------------------------------------------------------- /leetcode/1110. Delete Nodes And Return Forest/1110.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1110. Delete Nodes And Return Forest/1110.cpp -------------------------------------------------------------------------------- /leetcode/1118. Number of Days in a Month/1118.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1118. Number of Days in a Month/1118.cpp -------------------------------------------------------------------------------- /leetcode/1119. Remove Vowels from a String/1119.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1119. Remove Vowels from a String/1119.cpp -------------------------------------------------------------------------------- /leetcode/1120. Maximum Average Subtree/1120.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1120. Maximum Average Subtree/1120.cpp -------------------------------------------------------------------------------- /leetcode/1120. Maximum Average Subtree/1120.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1120. Maximum Average Subtree/1120.py -------------------------------------------------------------------------------- /leetcode/1122. Relative Sort Array/1122-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1122. Relative Sort Array/1122-2.cpp -------------------------------------------------------------------------------- /leetcode/1122. Relative Sort Array/1122-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1122. Relative Sort Array/1122-3.cpp -------------------------------------------------------------------------------- /leetcode/1122. Relative Sort Array/1122.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1122. Relative Sort Array/1122.cpp -------------------------------------------------------------------------------- /leetcode/113. Path Sum II/113-2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/113. Path Sum II/113-2.js -------------------------------------------------------------------------------- /leetcode/113. Path Sum II/113.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/113. Path Sum II/113.js -------------------------------------------------------------------------------- /leetcode/1133. Largest Unique Number/1133-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1133. Largest Unique Number/1133-2.cpp -------------------------------------------------------------------------------- /leetcode/1133. Largest Unique Number/1133-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1133. Largest Unique Number/1133-3.cpp -------------------------------------------------------------------------------- /leetcode/1133. Largest Unique Number/1133.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1133. Largest Unique Number/1133.cpp -------------------------------------------------------------------------------- /leetcode/1133. Largest Unique Number/1133.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1133. Largest Unique Number/1133.js -------------------------------------------------------------------------------- /leetcode/1133. Largest Unique Number/1133.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1133. Largest Unique Number/1133.py -------------------------------------------------------------------------------- /leetcode/1134. Armstrong Number/1134.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1134. Armstrong Number/1134.py -------------------------------------------------------------------------------- /leetcode/1137. N-th Tribonacci Number/1137-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1137. N-th Tribonacci Number/1137-2.cpp -------------------------------------------------------------------------------- /leetcode/1137. N-th Tribonacci Number/1137.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1137. N-th Tribonacci Number/1137.cpp -------------------------------------------------------------------------------- /leetcode/1143. Longest Common Subsequence/1143.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1143. Longest Common Subsequence/1143.cpp -------------------------------------------------------------------------------- /leetcode/1154. Day of the Year/1154.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1154. Day of the Year/1154.cpp -------------------------------------------------------------------------------- /leetcode/1165. Single-Row Keyboard/1165-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1165. Single-Row Keyboard/1165-2.cpp -------------------------------------------------------------------------------- /leetcode/1165. Single-Row Keyboard/1165.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1165. Single-Row Keyboard/1165.cpp -------------------------------------------------------------------------------- /leetcode/1167. Minimum Cost to Connect Sticks/1167.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1167. Minimum Cost to Connect Sticks/1167.cpp -------------------------------------------------------------------------------- /leetcode/1167. Minimum Cost to Connect Sticks/1167.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1167. Minimum Cost to Connect Sticks/1167.py -------------------------------------------------------------------------------- /leetcode/1175. Prime Arrangements/1175.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1175. Prime Arrangements/1175.cpp -------------------------------------------------------------------------------- /leetcode/1184. Distance Between Bus Stops/1184.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1184. Distance Between Bus Stops/1184.py -------------------------------------------------------------------------------- /leetcode/1185. Day of the Week/1185.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1185. Day of the Week/1185.cpp -------------------------------------------------------------------------------- /leetcode/1188. Design Bounded Blocking Queue/1188.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1188. Design Bounded Blocking Queue/1188.py -------------------------------------------------------------------------------- /leetcode/1197. Minimum Knight Moves/1197.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1197. Minimum Knight Moves/1197.py -------------------------------------------------------------------------------- /leetcode/12. Integer to Roman/12.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/12. Integer to Roman/12.py -------------------------------------------------------------------------------- /leetcode/120. Triangle/120.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/120. Triangle/120.py -------------------------------------------------------------------------------- /leetcode/1200. Minimum Absolute Difference/1200.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1200. Minimum Absolute Difference/1200.cpp -------------------------------------------------------------------------------- /leetcode/1200. Minimum Absolute Difference/1200.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1200. Minimum Absolute Difference/1200.py -------------------------------------------------------------------------------- /leetcode/1207. Unique Number of Occurrences/1207.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1207. Unique Number of Occurrences/1207.cpp -------------------------------------------------------------------------------- /leetcode/121. Best Time to Buy and Sell Stock/121.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/121. Best Time to Buy and Sell Stock/121.py -------------------------------------------------------------------------------- /leetcode/1215. Stepping Numbers/1215.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1215. Stepping Numbers/1215.cpp -------------------------------------------------------------------------------- /leetcode/1220. Count Vowels Permutation/1220.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1220. Count Vowels Permutation/1220.cpp -------------------------------------------------------------------------------- /leetcode/1230. Toss Strange Coins/1230.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1230. Toss Strange Coins/1230.cpp -------------------------------------------------------------------------------- /leetcode/1232. Check If It Is a Straight Line/1232.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1232. Check If It Is a Straight Line/1232.cpp -------------------------------------------------------------------------------- /leetcode/1244. Design A Leaderboard/1244.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1244. Design A Leaderboard/1244.cpp -------------------------------------------------------------------------------- /leetcode/125. Valid Palindrome/125.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/125. Valid Palindrome/125.cpp -------------------------------------------------------------------------------- /leetcode/1260. Shift 2D Grid/1260.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1260. Shift 2D Grid/1260.cpp -------------------------------------------------------------------------------- /leetcode/1267. Count Servers that Communicate/1267.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1267. Count Servers that Communicate/1267.py -------------------------------------------------------------------------------- /leetcode/1272. Remove Interval/1272.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1272. Remove Interval/1272.cpp -------------------------------------------------------------------------------- /leetcode/1273. Delete Tree Nodes/1273.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1273. Delete Tree Nodes/1273.cpp -------------------------------------------------------------------------------- /leetcode/1288. Remove Covered Intervals/1288.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1288. Remove Covered Intervals/1288.cpp -------------------------------------------------------------------------------- /leetcode/129. Sum Root to Leaf Numbers/129.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/129. Sum Root to Leaf Numbers/129.py -------------------------------------------------------------------------------- /leetcode/1291. Sequential Digits/1291-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1291. Sequential Digits/1291-2.cpp -------------------------------------------------------------------------------- /leetcode/1291. Sequential Digits/1291.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1291. Sequential Digits/1291.cpp -------------------------------------------------------------------------------- /leetcode/13. Roman to Integer/13-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/13. Roman to Integer/13-2.cpp -------------------------------------------------------------------------------- /leetcode/13. Roman to Integer/13.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/13. Roman to Integer/13.cpp -------------------------------------------------------------------------------- /leetcode/1302. Deepest Leaves Sum/1302-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1302. Deepest Leaves Sum/1302-2.cpp -------------------------------------------------------------------------------- /leetcode/1302. Deepest Leaves Sum/1302.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1302. Deepest Leaves Sum/1302.cpp -------------------------------------------------------------------------------- /leetcode/131. Palindrome Partitioning/131.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/131. Palindrome Partitioning/131.cpp -------------------------------------------------------------------------------- /leetcode/1314. Matrix Block Sum/1314.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1314. Matrix Block Sum/1314.cpp -------------------------------------------------------------------------------- /leetcode/1328. Break a Palindrome/1328.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1328. Break a Palindrome/1328.js -------------------------------------------------------------------------------- /leetcode/133. Clone Graph/133.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/133. Clone Graph/133.cpp -------------------------------------------------------------------------------- /leetcode/133. Clone Graph/133.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/133. Clone Graph/133.java -------------------------------------------------------------------------------- /leetcode/1338. Reduce Array Size to The Half/1338.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1338. Reduce Array Size to The Half/1338.py -------------------------------------------------------------------------------- /leetcode/1344. Angle Between Hands of a Clock/1344.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1344. Angle Between Hands of a Clock/1344.cpp -------------------------------------------------------------------------------- /leetcode/1346. Check If N and Its Double Exist/1346.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1346. Check If N and Its Double Exist/1346.go -------------------------------------------------------------------------------- /leetcode/1352. Product of the Last K Numbers/1352.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1352. Product of the Last K Numbers/1352.cpp -------------------------------------------------------------------------------- /leetcode/1362. Closest Divisors/1362.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1362. Closest Divisors/1362.cpp -------------------------------------------------------------------------------- /leetcode/1380. Lucky Numbers in a Matrix/1380.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1380. Lucky Numbers in a Matrix/1380.cpp -------------------------------------------------------------------------------- /leetcode/1382. Balance a Binary Search Tree/1382.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1382. Balance a Binary Search Tree/1382.cpp -------------------------------------------------------------------------------- /leetcode/1382. Balance a Binary Search Tree/1382.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1382. Balance a Binary Search Tree/1382.py -------------------------------------------------------------------------------- /leetcode/139. Word Break/139.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/139. Word Break/139.py -------------------------------------------------------------------------------- /leetcode/1392. Longest Happy Prefix/1392.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1392. Longest Happy Prefix/1392.py -------------------------------------------------------------------------------- /leetcode/1396. Design Underground System/1396.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1396. Design Underground System/1396.cpp -------------------------------------------------------------------------------- /leetcode/1399. Count Largest Group/1399.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1399. Count Largest Group/1399.cpp -------------------------------------------------------------------------------- /leetcode/1400. Construct K Palindrome Strings/1400.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1400. Construct K Palindrome Strings/1400.cpp -------------------------------------------------------------------------------- /leetcode/1410. HTML Entity Parser/1410.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1410. HTML Entity Parser/1410.cpp -------------------------------------------------------------------------------- /leetcode/1436. Destination City/1436.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1436. Destination City/1436.cpp -------------------------------------------------------------------------------- /leetcode/144. Binary Tree Preorder Traversal/144.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/144. Binary Tree Preorder Traversal/144.rs -------------------------------------------------------------------------------- /leetcode/1447. Simplified Fractions/1447.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1447. Simplified Fractions/1447.py -------------------------------------------------------------------------------- /leetcode/146. LRU Cache/146.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/146. LRU Cache/146.cpp -------------------------------------------------------------------------------- /leetcode/1469. Find All the Lonely Nodes/1469.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1469. Find All the Lonely Nodes/1469.cpp -------------------------------------------------------------------------------- /leetcode/1470. Shuffle the Array/1470.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1470. Shuffle the Array/1470.go -------------------------------------------------------------------------------- /leetcode/1472. Design Browser History/1472.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1472. Design Browser History/1472.cpp -------------------------------------------------------------------------------- /leetcode/148. Sort List/148.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/148. Sort List/148.cpp -------------------------------------------------------------------------------- /leetcode/1490. Clone N-ary Tree/1490.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1490. Clone N-ary Tree/1490.cpp -------------------------------------------------------------------------------- /leetcode/1492. The kth Factor of n/1492.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1492. The kth Factor of n/1492.cpp -------------------------------------------------------------------------------- /leetcode/15. 3Sum/15-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/15. 3Sum/15-2.cpp -------------------------------------------------------------------------------- /leetcode/15. 3Sum/15.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/15. 3Sum/15.cpp -------------------------------------------------------------------------------- /leetcode/150. Evaluate Reverse Polish Notation/150.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/150. Evaluate Reverse Polish Notation/150.py -------------------------------------------------------------------------------- /leetcode/1506. Find Root of N-Ary Tree/1506.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1506. Find Root of N-Ary Tree/1506.cpp -------------------------------------------------------------------------------- /leetcode/151. Reverse Words in a String/151.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/151. Reverse Words in a String/151.cpp -------------------------------------------------------------------------------- /leetcode/1518. Water Bottles/1518.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1518. Water Bottles/1518.java -------------------------------------------------------------------------------- /leetcode/1522. Diameter of N-Ary Tree/1522.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1522. Diameter of N-Ary Tree/1522.cpp -------------------------------------------------------------------------------- /leetcode/1528. Shuffle String/1528.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1528. Shuffle String/1528.py -------------------------------------------------------------------------------- /leetcode/1539. Kth Missing Positive Number/1539.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1539. Kth Missing Positive Number/1539.cpp -------------------------------------------------------------------------------- /leetcode/1550. Three Consecutive Odds/1550.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1550. Three Consecutive Odds/1550.py -------------------------------------------------------------------------------- /leetcode/1572. Matrix Diagonal Sum/1572.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1572. Matrix Diagonal Sum/1572.py -------------------------------------------------------------------------------- /leetcode/1598. Crawler Log Folder/1598.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1598. Crawler Log Folder/1598.cpp -------------------------------------------------------------------------------- /leetcode/16. 3Sum Closest/16.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/16. 3Sum Closest/16.cpp -------------------------------------------------------------------------------- /leetcode/160. Intersection of Two Linked Lists/160.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/160. Intersection of Two Linked Lists/160.cpp -------------------------------------------------------------------------------- /leetcode/166. Fraction to Recurring Decimal/166.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/166. Fraction to Recurring Decimal/166.java -------------------------------------------------------------------------------- /leetcode/1694. Reformat Phone Number/1694.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1694. Reformat Phone Number/1694.py -------------------------------------------------------------------------------- /leetcode/171. Excel Sheet Column Number/171.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/171. Excel Sheet Column Number/171.py -------------------------------------------------------------------------------- /leetcode/1710. Maximum Units on a Truck/1710.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1710. Maximum Units on a Truck/1710.cpp -------------------------------------------------------------------------------- /leetcode/1748. Sum of Unique Elements/1748.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1748. Sum of Unique Elements/1748.py -------------------------------------------------------------------------------- /leetcode/176. Second Highest Salary/176.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/176. Second Highest Salary/176.sql -------------------------------------------------------------------------------- /leetcode/1768. Merge Strings Alternately/1768.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1768. Merge Strings Alternately/1768.go -------------------------------------------------------------------------------- /leetcode/1791. Find Center of Star Graph/1791.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1791. Find Center of Star Graph/1791.py -------------------------------------------------------------------------------- /leetcode/18. 4Sum/18.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/18. 4Sum/18.cpp -------------------------------------------------------------------------------- /leetcode/1800. Maximum Ascending Subarray Sum/1800.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1800. Maximum Ascending Subarray Sum/1800.py -------------------------------------------------------------------------------- /leetcode/1816. Truncate Sentence/1816.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1816. Truncate Sentence/1816.py -------------------------------------------------------------------------------- /leetcode/1837. Sum of Digits in Base K/1837.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1837. Sum of Digits in Base K/1837.py -------------------------------------------------------------------------------- /leetcode/1854. Maximum Population Year/1854.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1854. Maximum Population Year/1854.cpp -------------------------------------------------------------------------------- /leetcode/186. Reverse Words in a String II/186-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/186. Reverse Words in a String II/186-2.cpp -------------------------------------------------------------------------------- /leetcode/186. Reverse Words in a String II/186.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/186. Reverse Words in a String II/186.cpp -------------------------------------------------------------------------------- /leetcode/189. Rotate Array/189.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/189. Rotate Array/189.py -------------------------------------------------------------------------------- /leetcode/190. Reverse Bits/190.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/190. Reverse Bits/190.py -------------------------------------------------------------------------------- /leetcode/1903. Largest Odd Number in String/1903.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1903. Largest Odd Number in String/1903.py -------------------------------------------------------------------------------- /leetcode/1920. Build Array from Permutation/1920.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1920. Build Array from Permutation/1920.py -------------------------------------------------------------------------------- /leetcode/1925. Count Square Sum Triples/1925.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1925. Count Square Sum Triples/1925.py -------------------------------------------------------------------------------- /leetcode/1929. Concatenation of Array/1929.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1929. Concatenation of Array/1929.py -------------------------------------------------------------------------------- /leetcode/1952. Three Divisors/1952.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1952. Three Divisors/1952.py -------------------------------------------------------------------------------- /leetcode/1971. Find if Path Exists in Graph/1971.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/1971. Find if Path Exists in Graph/1971.py -------------------------------------------------------------------------------- /leetcode/199. Binary Tree Right Side View/199.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/199. Binary Tree Right Side View/199.py -------------------------------------------------------------------------------- /leetcode/201. Bitwise AND of Numbers Range/201.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/201. Bitwise AND of Numbers Range/201.cpp -------------------------------------------------------------------------------- /leetcode/2032. Two Out of Three/2032.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2032. Two Out of Three/2032.py -------------------------------------------------------------------------------- /leetcode/205. Isomorphic Strings/205.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/205. Isomorphic Strings/205.cpp -------------------------------------------------------------------------------- /leetcode/206. Reverse Linked List/206.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/206. Reverse Linked List/206.js -------------------------------------------------------------------------------- /leetcode/207. Course Schedule/207.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/207. Course Schedule/207.py -------------------------------------------------------------------------------- /leetcode/2094. Finding 3-Digit Even Numbers/2094.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2094. Finding 3-Digit Even Numbers/2094.py -------------------------------------------------------------------------------- /leetcode/21. Merge Two Sorted Lists/21-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/21. Merge Two Sorted Lists/21-2.cpp -------------------------------------------------------------------------------- /leetcode/21. Merge Two Sorted Lists/21-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/21. Merge Two Sorted Lists/21-3.cpp -------------------------------------------------------------------------------- /leetcode/21. Merge Two Sorted Lists/21-4.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/21. Merge Two Sorted Lists/21-4.cpp -------------------------------------------------------------------------------- /leetcode/21. Merge Two Sorted Lists/21.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/21. Merge Two Sorted Lists/21.cpp -------------------------------------------------------------------------------- /leetcode/2101. Detonate the Maximum Bombs/2101.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2101. Detonate the Maximum Bombs/2101.py -------------------------------------------------------------------------------- /leetcode/2129. Capitalize the Title/2129.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2129. Capitalize the Title/2129.py -------------------------------------------------------------------------------- /leetcode/216. Combination Sum III/216.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/216. Combination Sum III/216.py -------------------------------------------------------------------------------- /leetcode/217. Contains Duplicate/217.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/217. Contains Duplicate/217.js -------------------------------------------------------------------------------- /leetcode/219. Contains Duplicate II/219.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/219. Contains Duplicate II/219.py -------------------------------------------------------------------------------- /leetcode/22. Generate Parentheses/22-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/22. Generate Parentheses/22-2.cpp -------------------------------------------------------------------------------- /leetcode/22. Generate Parentheses/22.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/22. Generate Parentheses/22.cpp -------------------------------------------------------------------------------- /leetcode/228. Summary Ranges/228.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/228. Summary Ranges/228.cpp -------------------------------------------------------------------------------- /leetcode/2293. Min Max Game/2293.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2293. Min Max Game/2293.py -------------------------------------------------------------------------------- /leetcode/23. Merge k Sorted Lists/23.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/23. Merge k Sorted Lists/23.cpp -------------------------------------------------------------------------------- /leetcode/230. Kth Smallest Element in a BST/230.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/230. Kth Smallest Element in a BST/230.cpp -------------------------------------------------------------------------------- /leetcode/230. Kth Smallest Element in a BST/230.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/230. Kth Smallest Element in a BST/230.java -------------------------------------------------------------------------------- /leetcode/230. Kth Smallest Element in a BST/230.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/230. Kth Smallest Element in a BST/230.py -------------------------------------------------------------------------------- /leetcode/2331. Evaluate Boolean Binary Tree/2331.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2331. Evaluate Boolean Binary Tree/2331.py -------------------------------------------------------------------------------- /leetcode/2352. Equal Row and Column Pairs/2352.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2352. Equal Row and Column Pairs/2352.py -------------------------------------------------------------------------------- /leetcode/237. Delete Node in a Linked List/237.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/237. Delete Node in a Linked List/237.py -------------------------------------------------------------------------------- /leetcode/24. Swap Nodes in Pairs/24.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/24. Swap Nodes in Pairs/24.cpp -------------------------------------------------------------------------------- /leetcode/2409. Count Days Spent Together/2409.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2409. Count Days Spent Together/2409.py -------------------------------------------------------------------------------- /leetcode/242. Valid Anagram/242.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/242. Valid Anagram/242.cpp -------------------------------------------------------------------------------- /leetcode/2427. Number of Common Factors/2427.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2427. Number of Common Factors/2427.py -------------------------------------------------------------------------------- /leetcode/2437. Number of Valid Clock Times/2437.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2437. Number of Valid Clock Times/2437.py -------------------------------------------------------------------------------- /leetcode/2443. Sum of Number and Its Reverse/2443.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2443. Sum of Number and Its Reverse/2443.py -------------------------------------------------------------------------------- /leetcode/246. Strobogrammatic Number/246-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/246. Strobogrammatic Number/246-2.cpp -------------------------------------------------------------------------------- /leetcode/246. Strobogrammatic Number/246.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/246. Strobogrammatic Number/246.cpp -------------------------------------------------------------------------------- /leetcode/247. Strobogrammatic Number II/247.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/247. Strobogrammatic Number II/247.cpp -------------------------------------------------------------------------------- /leetcode/2485. Find the Pivot Integer/2485.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2485. Find the Pivot Integer/2485.py -------------------------------------------------------------------------------- /leetcode/2490. Circular Sentence/2490.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2490. Circular Sentence/2490.py -------------------------------------------------------------------------------- /leetcode/250. Count Univalue Subtrees/250-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/250. Count Univalue Subtrees/250-2.cpp -------------------------------------------------------------------------------- /leetcode/250. Count Univalue Subtrees/250-2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/250. Count Univalue Subtrees/250-2.java -------------------------------------------------------------------------------- /leetcode/250. Count Univalue Subtrees/250-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/250. Count Univalue Subtrees/250-3.cpp -------------------------------------------------------------------------------- /leetcode/250. Count Univalue Subtrees/250.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/250. Count Univalue Subtrees/250.cpp -------------------------------------------------------------------------------- /leetcode/250. Count Univalue Subtrees/250.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/250. Count Univalue Subtrees/250.java -------------------------------------------------------------------------------- /leetcode/251. Flatten 2D Vector/251-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/251. Flatten 2D Vector/251-2.cpp -------------------------------------------------------------------------------- /leetcode/251. Flatten 2D Vector/251.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/251. Flatten 2D Vector/251.cpp -------------------------------------------------------------------------------- /leetcode/252. Meeting Rooms/252-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/252. Meeting Rooms/252-2.cpp -------------------------------------------------------------------------------- /leetcode/252. Meeting Rooms/252.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/252. Meeting Rooms/252.cpp -------------------------------------------------------------------------------- /leetcode/254. Factor Combinations/254-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/254. Factor Combinations/254-2.cpp -------------------------------------------------------------------------------- /leetcode/254. Factor Combinations/254.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/254. Factor Combinations/254.cpp -------------------------------------------------------------------------------- /leetcode/254. Factor Combinations/254.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/254. Factor Combinations/254.py -------------------------------------------------------------------------------- /leetcode/2544. Alternating Digit Sum/2544.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2544. Alternating Digit Sum/2544.py -------------------------------------------------------------------------------- /leetcode/256. Paint House/256.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/256. Paint House/256.cpp -------------------------------------------------------------------------------- /leetcode/2578. Split With Minimum Sum/2578-2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2578. Split With Minimum Sum/2578-2.py -------------------------------------------------------------------------------- /leetcode/2578. Split With Minimum Sum/2578-3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2578. Split With Minimum Sum/2578-3.py -------------------------------------------------------------------------------- /leetcode/2578. Split With Minimum Sum/2578.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2578. Split With Minimum Sum/2578.py -------------------------------------------------------------------------------- /leetcode/2582. Pass the Pillow/2582.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2582. Pass the Pillow/2582.py -------------------------------------------------------------------------------- /leetcode/2595. Number of Even and Odd Bits/2595.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2595. Number of Even and Odd Bits/2595.py -------------------------------------------------------------------------------- /leetcode/2600. K Items With the Maximum Sum/2600.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2600. K Items With the Maximum Sum/2600.py -------------------------------------------------------------------------------- /leetcode/261. Graph Valid Tree/261-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/261. Graph Valid Tree/261-2.cpp -------------------------------------------------------------------------------- /leetcode/261. Graph Valid Tree/261.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/261. Graph Valid Tree/261.cpp -------------------------------------------------------------------------------- /leetcode/264. Ugly Number II/264.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/264. Ugly Number II/264.py -------------------------------------------------------------------------------- /leetcode/2652. Sum Multiples/2652.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2652. Sum Multiples/2652.py -------------------------------------------------------------------------------- /leetcode/266. Palindrome Permutation/266-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/266. Palindrome Permutation/266-2.cpp -------------------------------------------------------------------------------- /leetcode/266. Palindrome Permutation/266.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/266. Palindrome Permutation/266.cpp -------------------------------------------------------------------------------- /leetcode/27. Remove Element/27.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/27. Remove Element/27.py -------------------------------------------------------------------------------- /leetcode/2706. Buy Two Chocolates/2706.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2706. Buy Two Chocolates/2706.py -------------------------------------------------------------------------------- /leetcode/2716. Minimize String Length/2716.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2716. Minimize String Length/2716.py -------------------------------------------------------------------------------- /leetcode/2717. Semi-Ordered Permutation/2717.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2717. Semi-Ordered Permutation/2717.py -------------------------------------------------------------------------------- /leetcode/2733. Neither Minimum nor Maximum/2733.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2733. Neither Minimum nor Maximum/2733.py -------------------------------------------------------------------------------- /leetcode/276. Paint Fence/276.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/276. Paint Fence/276.cpp -------------------------------------------------------------------------------- /leetcode/276. Paint Fence/276.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/276. Paint Fence/276.py -------------------------------------------------------------------------------- /leetcode/28. Implement strStr()/28.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/28. Implement strStr()/28.cpp -------------------------------------------------------------------------------- /leetcode/280. Wiggle Sort/280-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/280. Wiggle Sort/280-2.cpp -------------------------------------------------------------------------------- /leetcode/280. Wiggle Sort/280.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/280. Wiggle Sort/280.cpp -------------------------------------------------------------------------------- /leetcode/2802. Find The K-th Lucky Number/2802-2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2802. Find The K-th Lucky Number/2802-2.py -------------------------------------------------------------------------------- /leetcode/2802. Find The K-th Lucky Number/2802-3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2802. Find The K-th Lucky Number/2802-3.py -------------------------------------------------------------------------------- /leetcode/2802. Find The K-th Lucky Number/2802.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2802. Find The K-th Lucky Number/2802.py -------------------------------------------------------------------------------- /leetcode/2810. Faulty Keyboard/2810.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2810. Faulty Keyboard/2810.py -------------------------------------------------------------------------------- /leetcode/2833. Furthest Point From Origin/2833.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2833. Furthest Point From Origin/2833.py -------------------------------------------------------------------------------- /leetcode/2864. Maximum Odd Binary Number/2864.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2864. Maximum Odd Binary Number/2864.py -------------------------------------------------------------------------------- /leetcode/290. Word Pattern/290.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/290. Word Pattern/290.cpp -------------------------------------------------------------------------------- /leetcode/2923. Find Champion I/2923.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2923. Find Champion I/2923.py -------------------------------------------------------------------------------- /leetcode/2924. Find Champion II/2924.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/2924. Find Champion II/2924.py -------------------------------------------------------------------------------- /leetcode/300. Longest Increasing Subsequence/300.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/300. Longest Increasing Subsequence/300.cpp -------------------------------------------------------------------------------- /leetcode/3046. Split the Array/3046.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/3046. Split the Array/3046.py -------------------------------------------------------------------------------- /leetcode/3054. Binary Tree Nodes/3054.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/3054. Binary Tree Nodes/3054.sql -------------------------------------------------------------------------------- /leetcode/307. Range Sum Query - Mutable/307-2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/307. Range Sum Query - Mutable/307-2.py -------------------------------------------------------------------------------- /leetcode/307. Range Sum Query - Mutable/307.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/307. Range Sum Query - Mutable/307.py -------------------------------------------------------------------------------- /leetcode/31. Next Permutation/31.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/31. Next Permutation/31.cpp -------------------------------------------------------------------------------- /leetcode/3101. Count Alternating Subarrays/3101.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/3101. Count Alternating Subarrays/3101.py -------------------------------------------------------------------------------- /leetcode/311. Sparse Matrix Multiplication/311.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/311. Sparse Matrix Multiplication/311.cpp -------------------------------------------------------------------------------- /leetcode/3128. Right Triangles/3128.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/3128. Right Triangles/3128.py -------------------------------------------------------------------------------- /leetcode/3174. Clear Digits/3174.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/3174. Clear Digits/3174.py -------------------------------------------------------------------------------- /leetcode/322. Coin Change/322-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/322. Coin Change/322-2.cpp -------------------------------------------------------------------------------- /leetcode/322. Coin Change/322.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/322. Coin Change/322.cpp -------------------------------------------------------------------------------- /leetcode/3232. Find if Digit Game Can Be Won/3232.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/3232. Find if Digit Game Can Be Won/3232.py -------------------------------------------------------------------------------- /leetcode/328. Odd Even Linked List/328.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/328. Odd Even Linked List/328.cpp -------------------------------------------------------------------------------- /leetcode/33. Search in Rotated Sorted Array/33.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/33. Search in Rotated Sorted Array/33.cpp -------------------------------------------------------------------------------- /leetcode/33. Search in Rotated Sorted Array/33.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/33. Search in Rotated Sorted Array/33.java -------------------------------------------------------------------------------- /leetcode/334. Increasing Triplet Subsequence/334.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/334. Increasing Triplet Subsequence/334.cpp -------------------------------------------------------------------------------- /leetcode/334. Increasing Triplet Subsequence/334.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/334. Increasing Triplet Subsequence/334.py -------------------------------------------------------------------------------- /leetcode/339. Nested List Weight Sum/339.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/339. Nested List Weight Sum/339.cpp -------------------------------------------------------------------------------- /leetcode/342. Power of Four/342-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/342. Power of Four/342-2.cpp -------------------------------------------------------------------------------- /leetcode/342. Power of Four/342.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/342. Power of Four/342.cpp -------------------------------------------------------------------------------- /leetcode/347. Top K Frequent Elements/347-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/347. Top K Frequent Elements/347-2.cpp -------------------------------------------------------------------------------- /leetcode/347. Top K Frequent Elements/347.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/347. Top K Frequent Elements/347.cpp -------------------------------------------------------------------------------- /leetcode/348. Design Tic-Tac-Toe/348.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/348. Design Tic-Tac-Toe/348.cpp -------------------------------------------------------------------------------- /leetcode/350. Intersection of Two Arrays II/350.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/350. Intersection of Two Arrays II/350.cpp -------------------------------------------------------------------------------- /leetcode/350. Intersection of Two Arrays II/350.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/350. Intersection of Two Arrays II/350.java -------------------------------------------------------------------------------- /leetcode/350. Intersection of Two Arrays II/350.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/350. Intersection of Two Arrays II/350.js -------------------------------------------------------------------------------- /leetcode/353. Design Snake Game/353.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/353. Design Snake Game/353.cpp -------------------------------------------------------------------------------- /leetcode/359. Logger Rate Limiter/359.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/359. Logger Rate Limiter/359.cpp -------------------------------------------------------------------------------- /leetcode/359. Logger Rate Limiter/359.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/359. Logger Rate Limiter/359.java -------------------------------------------------------------------------------- /leetcode/362. Design Hit Counter/362-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/362. Design Hit Counter/362-2.cpp -------------------------------------------------------------------------------- /leetcode/362. Design Hit Counter/362.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/362. Design Hit Counter/362.cpp -------------------------------------------------------------------------------- /leetcode/366. Find Leaves of Binary Tree/366.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/366. Find Leaves of Binary Tree/366.cpp -------------------------------------------------------------------------------- /leetcode/366. Find Leaves of Binary Tree/366.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/366. Find Leaves of Binary Tree/366.java -------------------------------------------------------------------------------- /leetcode/366. Find Leaves of Binary Tree/366.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/366. Find Leaves of Binary Tree/366.py -------------------------------------------------------------------------------- /leetcode/367. Valid Perfect Square/367-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/367. Valid Perfect Square/367-2.cpp -------------------------------------------------------------------------------- /leetcode/367. Valid Perfect Square/367-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/367. Valid Perfect Square/367-3.cpp -------------------------------------------------------------------------------- /leetcode/367. Valid Perfect Square/367-4.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/367. Valid Perfect Square/367-4.cpp -------------------------------------------------------------------------------- /leetcode/367. Valid Perfect Square/367.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/367. Valid Perfect Square/367.cpp -------------------------------------------------------------------------------- /leetcode/37. Sudoku Solver/37.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/37. Sudoku Solver/37.cpp -------------------------------------------------------------------------------- /leetcode/374. Guess Number Higher or Lower/374-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/374. Guess Number Higher or Lower/374-2.cpp -------------------------------------------------------------------------------- /leetcode/374. Guess Number Higher or Lower/374.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/374. Guess Number Higher or Lower/374.cpp -------------------------------------------------------------------------------- /leetcode/377. Combination Sum IV/377.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/377. Combination Sum IV/377.py -------------------------------------------------------------------------------- /leetcode/38. Count and Say/38.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/38. Count and Say/38.py -------------------------------------------------------------------------------- /leetcode/384. Shuffle an Array/384.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/384. Shuffle an Array/384.py -------------------------------------------------------------------------------- /leetcode/389. Find the Difference/389.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/389. Find the Difference/389.py -------------------------------------------------------------------------------- /leetcode/39. Combination Sum/39.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/39. Combination Sum/39.cpp -------------------------------------------------------------------------------- /leetcode/392. Is Subsequence/392.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/392. Is Subsequence/392.cpp -------------------------------------------------------------------------------- /leetcode/393. UTF-8 Validation/393.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/393. UTF-8 Validation/393.cpp -------------------------------------------------------------------------------- /leetcode/394. Decode String/394.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/394. Decode String/394.cpp -------------------------------------------------------------------------------- /leetcode/401. Binary Watch/401.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/401. Binary Watch/401.cpp -------------------------------------------------------------------------------- /leetcode/408. Valid Word Abbreviation/408.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/408. Valid Word Abbreviation/408.cpp -------------------------------------------------------------------------------- /leetcode/409. Longest Palindrome/409.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/409. Longest Palindrome/409.cpp -------------------------------------------------------------------------------- /leetcode/409. Longest Palindrome/409.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/409. Longest Palindrome/409.py -------------------------------------------------------------------------------- /leetcode/415. Add Strings/415.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/415. Add Strings/415.cpp -------------------------------------------------------------------------------- /leetcode/415. Add Strings/415.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/415. Add Strings/415.py -------------------------------------------------------------------------------- /leetcode/416. Partition Equal Subset Sum/416.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/416. Partition Equal Subset Sum/416.cpp -------------------------------------------------------------------------------- /leetcode/43. Multiply Strings/43.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/43. Multiply Strings/43.java -------------------------------------------------------------------------------- /leetcode/433. Minimum Genetic Mutation/433.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/433. Minimum Genetic Mutation/433.py -------------------------------------------------------------------------------- /leetcode/434. Number of Segments in a String/434.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/434. Number of Segments in a String/434.cpp -------------------------------------------------------------------------------- /leetcode/434. Number of Segments in a String/434.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/434. Number of Segments in a String/434.py -------------------------------------------------------------------------------- /leetcode/437. Path Sum III/437.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/437. Path Sum III/437.cpp -------------------------------------------------------------------------------- /leetcode/438. Find All Anagrams in a String/438.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/438. Find All Anagrams in a String/438.cpp -------------------------------------------------------------------------------- /leetcode/438. Find All Anagrams in a String/438.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/438. Find All Anagrams in a String/438.py -------------------------------------------------------------------------------- /leetcode/441. Arranging Coins/441.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/441. Arranging Coins/441.py -------------------------------------------------------------------------------- /leetcode/442. Find All Duplicates in an Array/442.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/442. Find All Duplicates in an Array/442.py -------------------------------------------------------------------------------- /leetcode/443. String Compression/443.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/443. String Compression/443.cpp -------------------------------------------------------------------------------- /leetcode/445. Add Two Numbers II/445.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/445. Add Two Numbers II/445.cpp -------------------------------------------------------------------------------- /leetcode/451. Sort Characters By Frequency/451-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/451. Sort Characters By Frequency/451-2.cpp -------------------------------------------------------------------------------- /leetcode/451. Sort Characters By Frequency/451.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/451. Sort Characters By Frequency/451.cpp -------------------------------------------------------------------------------- /leetcode/47. Permutations II/47.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/47. Permutations II/47.cpp -------------------------------------------------------------------------------- /leetcode/476. Number Complement/476-2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/476. Number Complement/476-2.java -------------------------------------------------------------------------------- /leetcode/476. Number Complement/476-3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/476. Number Complement/476-3.java -------------------------------------------------------------------------------- /leetcode/476. Number Complement/476.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/476. Number Complement/476.cpp -------------------------------------------------------------------------------- /leetcode/476. Number Complement/476.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/476. Number Complement/476.java -------------------------------------------------------------------------------- /leetcode/476. Number Complement/476.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/476. Number Complement/476.js -------------------------------------------------------------------------------- /leetcode/477. Total Hamming Distance/477.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/477. Total Hamming Distance/477.cpp -------------------------------------------------------------------------------- /leetcode/48. Rotate Image/48.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/48. Rotate Image/48.py -------------------------------------------------------------------------------- /leetcode/482. License Key Formatting/482-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/482. License Key Formatting/482-2.cpp -------------------------------------------------------------------------------- /leetcode/482. License Key Formatting/482.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/482. License Key Formatting/482.cpp -------------------------------------------------------------------------------- /leetcode/49. Group Anagrams/49.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/49. Group Anagrams/49.cpp -------------------------------------------------------------------------------- /leetcode/49. Group Anagrams/49.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/49. Group Anagrams/49.py -------------------------------------------------------------------------------- /leetcode/492. Construct the Rectangle/492-2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/492. Construct the Rectangle/492-2.java -------------------------------------------------------------------------------- /leetcode/492. Construct the Rectangle/492-3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/492. Construct the Rectangle/492-3.java -------------------------------------------------------------------------------- /leetcode/492. Construct the Rectangle/492.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/492. Construct the Rectangle/492.java -------------------------------------------------------------------------------- /leetcode/50. Pow(x, n)/50.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/50. Pow(x, n)/50.cpp -------------------------------------------------------------------------------- /leetcode/500. Keyboard Row/500.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/500. Keyboard Row/500.py -------------------------------------------------------------------------------- /leetcode/504. Base 7/504-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/504. Base 7/504-2.cpp -------------------------------------------------------------------------------- /leetcode/504. Base 7/504-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/504. Base 7/504-3.cpp -------------------------------------------------------------------------------- /leetcode/504. Base 7/504.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/504. Base 7/504.cpp -------------------------------------------------------------------------------- /leetcode/507. Perfect Number/507-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/507. Perfect Number/507-2.cpp -------------------------------------------------------------------------------- /leetcode/507. Perfect Number/507.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/507. Perfect Number/507.cpp -------------------------------------------------------------------------------- /leetcode/508. Most Frequent Subtree Sum/508.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/508. Most Frequent Subtree Sum/508.cpp -------------------------------------------------------------------------------- /leetcode/5087. Letter Tile Possibilities/5087.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/5087. Letter Tile Possibilities/5087.cpp -------------------------------------------------------------------------------- /leetcode/51. N-Queens/51.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/51. N-Queens/51.cpp -------------------------------------------------------------------------------- /leetcode/513. Find Bottom Left Tree Value/513.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/513. Find Bottom Left Tree Value/513.py -------------------------------------------------------------------------------- /leetcode/516. Longest Palindromic Subsequence/516.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/516. Longest Palindromic Subsequence/516.py -------------------------------------------------------------------------------- /leetcode/518. Coin Change 2/518.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/518. Coin Change 2/518.cpp -------------------------------------------------------------------------------- /leetcode/52. N-Queens II/52.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/52. N-Queens II/52.cpp -------------------------------------------------------------------------------- /leetcode/520. Detect Capital/520.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/520. Detect Capital/520.js -------------------------------------------------------------------------------- /leetcode/525. Contiguous Array/525.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/525. Contiguous Array/525.cpp -------------------------------------------------------------------------------- /leetcode/532. K-diff Pairs in an Array/532-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/532. K-diff Pairs in an Array/532-2.cpp -------------------------------------------------------------------------------- /leetcode/532. K-diff Pairs in an Array/532-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/532. K-diff Pairs in an Array/532-3.cpp -------------------------------------------------------------------------------- /leetcode/532. K-diff Pairs in an Array/532.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/532. K-diff Pairs in an Array/532.cpp -------------------------------------------------------------------------------- /leetcode/537. Complex Number Multiplication/537.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/537. Complex Number Multiplication/537.cpp -------------------------------------------------------------------------------- /leetcode/537. Complex Number Multiplication/537.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/537. Complex Number Multiplication/537.js -------------------------------------------------------------------------------- /leetcode/538. Convert BST to Greater Tree/538-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/538. Convert BST to Greater Tree/538-2.cpp -------------------------------------------------------------------------------- /leetcode/538. Convert BST to Greater Tree/538.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/538. Convert BST to Greater Tree/538.cpp -------------------------------------------------------------------------------- /leetcode/541. Reverse String II/541.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/541. Reverse String II/541.cpp -------------------------------------------------------------------------------- /leetcode/543. Diameter of Binary Tree/543.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/543. Diameter of Binary Tree/543.cpp -------------------------------------------------------------------------------- /leetcode/5453. Running Sum of 1d Array/5453.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/5453. Running Sum of 1d Array/5453.cpp -------------------------------------------------------------------------------- /leetcode/55. Jump Game/55.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/55. Jump Game/55.cpp -------------------------------------------------------------------------------- /leetcode/557. Reverse Words in a String III/557.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/557. Reverse Words in a String III/557.cpp -------------------------------------------------------------------------------- /leetcode/557. Reverse Words in a String III/557.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/557. Reverse Words in a String III/557.java -------------------------------------------------------------------------------- /leetcode/559. Maximum Depth of N-ary Tree/559.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/559. Maximum Depth of N-ary Tree/559.py -------------------------------------------------------------------------------- /leetcode/56. Merge Intervals/56.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/56. Merge Intervals/56.py -------------------------------------------------------------------------------- /leetcode/560. Subarray Sum Equals K/560-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/560. Subarray Sum Equals K/560-2.cpp -------------------------------------------------------------------------------- /leetcode/560. Subarray Sum Equals K/560-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/560. Subarray Sum Equals K/560-3.cpp -------------------------------------------------------------------------------- /leetcode/560. Subarray Sum Equals K/560-4.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/560. Subarray Sum Equals K/560-4.cpp -------------------------------------------------------------------------------- /leetcode/560. Subarray Sum Equals K/560.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/560. Subarray Sum Equals K/560.cpp -------------------------------------------------------------------------------- /leetcode/566. Reshape the Matrix/566-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/566. Reshape the Matrix/566-2.cpp -------------------------------------------------------------------------------- /leetcode/566. Reshape the Matrix/566-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/566. Reshape the Matrix/566-3.cpp -------------------------------------------------------------------------------- /leetcode/566. Reshape the Matrix/566-4.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/566. Reshape the Matrix/566-4.cpp -------------------------------------------------------------------------------- /leetcode/566. Reshape the Matrix/566.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/566. Reshape the Matrix/566.cpp -------------------------------------------------------------------------------- /leetcode/572. Subtree of Another Tree/572-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/572. Subtree of Another Tree/572-2.cpp -------------------------------------------------------------------------------- /leetcode/572. Subtree of Another Tree/572.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/572. Subtree of Another Tree/572.cpp -------------------------------------------------------------------------------- /leetcode/576. Out of Boundary Paths/576.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/576. Out of Boundary Paths/576.py -------------------------------------------------------------------------------- /leetcode/577. Employee Bonus/577.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/577. Employee Bonus/577.sql -------------------------------------------------------------------------------- /leetcode/582. Kill Process/582-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/582. Kill Process/582-2.cpp -------------------------------------------------------------------------------- /leetcode/582. Kill Process/582.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/582. Kill Process/582.cpp -------------------------------------------------------------------------------- /leetcode/584. Find Customer Referee/584.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/584. Find Customer Referee/584.sql -------------------------------------------------------------------------------- /leetcode/589. N-ary Tree Preorder Traversal/589.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/589. N-ary Tree Preorder Traversal/589.py -------------------------------------------------------------------------------- /leetcode/59. Spiral Matrix II/59.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/59. Spiral Matrix II/59.java -------------------------------------------------------------------------------- /leetcode/593. Valid Square/593.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/593. Valid Square/593.cpp -------------------------------------------------------------------------------- /leetcode/593. Valid Square/593.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/593. Valid Square/593.java -------------------------------------------------------------------------------- /leetcode/594. Longest Harmonious Subsequence/594.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/594. Longest Harmonious Subsequence/594.cpp -------------------------------------------------------------------------------- /leetcode/6. ZigZag Conversion/6.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/6. ZigZag Conversion/6.cpp -------------------------------------------------------------------------------- /leetcode/608. Tree Node/608-2.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/608. Tree Node/608-2.sql -------------------------------------------------------------------------------- /leetcode/608. Tree Node/608-3.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/608. Tree Node/608-3.sql -------------------------------------------------------------------------------- /leetcode/608. Tree Node/608-4.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/608. Tree Node/608-4.sql -------------------------------------------------------------------------------- /leetcode/608. Tree Node/608.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/608. Tree Node/608.sql -------------------------------------------------------------------------------- /leetcode/609. Find Duplicate File in System/609.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/609. Find Duplicate File in System/609.js -------------------------------------------------------------------------------- /leetcode/612. Shortest Distance in a Plane/612-2.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/612. Shortest Distance in a Plane/612-2.sql -------------------------------------------------------------------------------- /leetcode/612. Shortest Distance in a Plane/612-3.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/612. Shortest Distance in a Plane/612-3.sql -------------------------------------------------------------------------------- /leetcode/612. Shortest Distance in a Plane/612-4.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/612. Shortest Distance in a Plane/612-4.sql -------------------------------------------------------------------------------- /leetcode/612. Shortest Distance in a Plane/612.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/612. Shortest Distance in a Plane/612.sql -------------------------------------------------------------------------------- /leetcode/619. Biggest Single Number/619.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/619. Biggest Single Number/619.sql -------------------------------------------------------------------------------- /leetcode/627. Swap Salary/627-2.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/627. Swap Salary/627-2.sql -------------------------------------------------------------------------------- /leetcode/627. Swap Salary/627.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/627. Swap Salary/627.sql -------------------------------------------------------------------------------- /leetcode/633. Sum of Square Numbers/633-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/633. Sum of Square Numbers/633-2.cpp -------------------------------------------------------------------------------- /leetcode/633. Sum of Square Numbers/633.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/633. Sum of Square Numbers/633.cpp -------------------------------------------------------------------------------- /leetcode/643. Maximum Average Subarray I/643-2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/643. Maximum Average Subarray I/643-2.js -------------------------------------------------------------------------------- /leetcode/643. Maximum Average Subarray I/643.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/643. Maximum Average Subarray I/643.cpp -------------------------------------------------------------------------------- /leetcode/643. Maximum Average Subarray I/643.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/643. Maximum Average Subarray I/643.java -------------------------------------------------------------------------------- /leetcode/643. Maximum Average Subarray I/643.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/643. Maximum Average Subarray I/643.js -------------------------------------------------------------------------------- /leetcode/645. Set Mismatch/645-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/645. Set Mismatch/645-2.cpp -------------------------------------------------------------------------------- /leetcode/645. Set Mismatch/645-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/645. Set Mismatch/645-3.cpp -------------------------------------------------------------------------------- /leetcode/645. Set Mismatch/645.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/645. Set Mismatch/645.cpp -------------------------------------------------------------------------------- /leetcode/647. Palindromic Substrings/647-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/647. Palindromic Substrings/647-2.cpp -------------------------------------------------------------------------------- /leetcode/647. Palindromic Substrings/647.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/647. Palindromic Substrings/647.cpp -------------------------------------------------------------------------------- /leetcode/650. 2 Keys Keyboard/650.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/650. 2 Keys Keyboard/650.py -------------------------------------------------------------------------------- /leetcode/653. Two Sum IV Input is a BST/653-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/653. Two Sum IV Input is a BST/653-2.cpp -------------------------------------------------------------------------------- /leetcode/653. Two Sum IV Input is a BST/653-2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/653. Two Sum IV Input is a BST/653-2.java -------------------------------------------------------------------------------- /leetcode/653. Two Sum IV Input is a BST/653-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/653. Two Sum IV Input is a BST/653-3.cpp -------------------------------------------------------------------------------- /leetcode/653. Two Sum IV Input is a BST/653-3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/653. Two Sum IV Input is a BST/653-3.java -------------------------------------------------------------------------------- /leetcode/653. Two Sum IV Input is a BST/653.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/653. Two Sum IV Input is a BST/653.cpp -------------------------------------------------------------------------------- /leetcode/653. Two Sum IV Input is a BST/653.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/653. Two Sum IV Input is a BST/653.java -------------------------------------------------------------------------------- /leetcode/654. Maximum Binary Tree/654-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/654. Maximum Binary Tree/654-2.cpp -------------------------------------------------------------------------------- /leetcode/654. Maximum Binary Tree/654.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/654. Maximum Binary Tree/654.cpp -------------------------------------------------------------------------------- /leetcode/661. Image Smoother/661.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/661. Image Smoother/661.cpp -------------------------------------------------------------------------------- /leetcode/661. Image Smoother/661.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/661. Image Smoother/661.java -------------------------------------------------------------------------------- /leetcode/663. Equal Tree Partition/663.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/663. Equal Tree Partition/663.py -------------------------------------------------------------------------------- /leetcode/669. Trim a Binary Search Tree/669.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/669. Trim a Binary Search Tree/669.cpp -------------------------------------------------------------------------------- /leetcode/679. 24 Game/679.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/679. 24 Game/679.cpp -------------------------------------------------------------------------------- /leetcode/680. Valid Palindrome II/680.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/680. Valid Palindrome II/680.cpp -------------------------------------------------------------------------------- /leetcode/681. Next Closest Time/681.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/681. Next Closest Time/681.cpp -------------------------------------------------------------------------------- /leetcode/684. Redundant Connection/684.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/684. Redundant Connection/684.cpp -------------------------------------------------------------------------------- /leetcode/686. Repeated String Match/686-2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/686. Repeated String Match/686-2.js -------------------------------------------------------------------------------- /leetcode/686. Repeated String Match/686.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/686. Repeated String Match/686.js -------------------------------------------------------------------------------- /leetcode/690. Employee Importance/690-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/690. Employee Importance/690-2.cpp -------------------------------------------------------------------------------- /leetcode/690. Employee Importance/690-2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/690. Employee Importance/690-2.java -------------------------------------------------------------------------------- /leetcode/690. Employee Importance/690.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/690. Employee Importance/690.cpp -------------------------------------------------------------------------------- /leetcode/690. Employee Importance/690.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/690. Employee Importance/690.java -------------------------------------------------------------------------------- /leetcode/700. Search in a Binary Search Tree/700.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/700. Search in a Binary Search Tree/700.cpp -------------------------------------------------------------------------------- /leetcode/700. Search in a Binary Search Tree/700.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/700. Search in a Binary Search Tree/700.js -------------------------------------------------------------------------------- /leetcode/704. Binary Search/704.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/704. Binary Search/704.java -------------------------------------------------------------------------------- /leetcode/706. Design HashMap/706.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/706. Design HashMap/706.py -------------------------------------------------------------------------------- /leetcode/709. To Lower Case/709-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/709. To Lower Case/709-2.cpp -------------------------------------------------------------------------------- /leetcode/709. To Lower Case/709.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/709. To Lower Case/709.c -------------------------------------------------------------------------------- /leetcode/709. To Lower Case/709.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/709. To Lower Case/709.cpp -------------------------------------------------------------------------------- /leetcode/724. Find Pivot Index/724-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/724. Find Pivot Index/724-2.cpp -------------------------------------------------------------------------------- /leetcode/724. Find Pivot Index/724.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/724. Find Pivot Index/724.cpp -------------------------------------------------------------------------------- /leetcode/73. Set Matrix Zeroes/73.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/73. Set Matrix Zeroes/73.py -------------------------------------------------------------------------------- /leetcode/733. Flood Fill/733-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/733. Flood Fill/733-2.cpp -------------------------------------------------------------------------------- /leetcode/733. Flood Fill/733.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/733. Flood Fill/733.cpp -------------------------------------------------------------------------------- /leetcode/74. Search a 2D Matrix/74-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/74. Search a 2D Matrix/74-2.cpp -------------------------------------------------------------------------------- /leetcode/74. Search a 2D Matrix/74-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/74. Search a 2D Matrix/74-3.cpp -------------------------------------------------------------------------------- /leetcode/74. Search a 2D Matrix/74.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/74. Search a 2D Matrix/74.cpp -------------------------------------------------------------------------------- /leetcode/742. Closest Leaf in a Binary Tree/742.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/742. Closest Leaf in a Binary Tree/742.py -------------------------------------------------------------------------------- /leetcode/743. Network Delay Time/743.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/743. Network Delay Time/743.py -------------------------------------------------------------------------------- /leetcode/746. Min Cost Climbing Stairs/746-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/746. Min Cost Climbing Stairs/746-2.cpp -------------------------------------------------------------------------------- /leetcode/746. Min Cost Climbing Stairs/746.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/746. Min Cost Climbing Stairs/746.cpp -------------------------------------------------------------------------------- /leetcode/758. Bold Words in String/758.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/758. Bold Words in String/758.cpp -------------------------------------------------------------------------------- /leetcode/760. Find Anagram Mappings/760-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/760. Find Anagram Mappings/760-2.cpp -------------------------------------------------------------------------------- /leetcode/760. Find Anagram Mappings/760.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/760. Find Anagram Mappings/760.cpp -------------------------------------------------------------------------------- /leetcode/760. Find Anagram Mappings/760.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/760. Find Anagram Mappings/760.java -------------------------------------------------------------------------------- /leetcode/766. Toeplitz Matrix/766-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/766. Toeplitz Matrix/766-2.cpp -------------------------------------------------------------------------------- /leetcode/766. Toeplitz Matrix/766.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/766. Toeplitz Matrix/766.cpp -------------------------------------------------------------------------------- /leetcode/77. Combinations/77.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/77. Combinations/77.py -------------------------------------------------------------------------------- /leetcode/779. K-th Symbol in Grammar/779.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/779. K-th Symbol in Grammar/779.py -------------------------------------------------------------------------------- /leetcode/791. Custom Sort String/791-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/791. Custom Sort String/791-2.cpp -------------------------------------------------------------------------------- /leetcode/791. Custom Sort String/791.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/791. Custom Sort String/791.cpp -------------------------------------------------------------------------------- /leetcode/797. All Paths From Source to Target/797.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/797. All Paths From Source to Target/797.py -------------------------------------------------------------------------------- /leetcode/799. Champagne Tower/799.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/799. Champagne Tower/799.py -------------------------------------------------------------------------------- /leetcode/804. Unique Morse Code Words/804.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/804. Unique Morse Code Words/804.cpp -------------------------------------------------------------------------------- /leetcode/804. Unique Morse Code Words/804.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/804. Unique Morse Code Words/804.java -------------------------------------------------------------------------------- /leetcode/811. Subdomain Visit Count/811-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/811. Subdomain Visit Count/811-2.cpp -------------------------------------------------------------------------------- /leetcode/811. Subdomain Visit Count/811.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/811. Subdomain Visit Count/811.cpp -------------------------------------------------------------------------------- /leetcode/812. Largest Triangle Area/812.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/812. Largest Triangle Area/812.cpp -------------------------------------------------------------------------------- /leetcode/814. Binary Tree Pruning/814-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/814. Binary Tree Pruning/814-2.cpp -------------------------------------------------------------------------------- /leetcode/814. Binary Tree Pruning/814.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/814. Binary Tree Pruning/814.cpp -------------------------------------------------------------------------------- /leetcode/819. Most Common Word/819-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/819. Most Common Word/819-2.cpp -------------------------------------------------------------------------------- /leetcode/819. Most Common Word/819.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/819. Most Common Word/819.cpp -------------------------------------------------------------------------------- /leetcode/830. Positions of Large Groups/830.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/830. Positions of Large Groups/830.cpp -------------------------------------------------------------------------------- /leetcode/830. Positions of Large Groups/830.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/830. Positions of Large Groups/830.java -------------------------------------------------------------------------------- /leetcode/836. Rectangle Overlap/836.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/836. Rectangle Overlap/836.cpp -------------------------------------------------------------------------------- /leetcode/841. Keys and Rooms/841.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/841. Keys and Rooms/841.cpp -------------------------------------------------------------------------------- /leetcode/844. Backspace String Compare/844.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/844. Backspace String Compare/844.cpp -------------------------------------------------------------------------------- /leetcode/844. Backspace String Compare/844.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/844. Backspace String Compare/844.java -------------------------------------------------------------------------------- /leetcode/844. Backspace String Compare/844.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/844. Backspace String Compare/844.js -------------------------------------------------------------------------------- /leetcode/845. Longest Mountain in Array/845.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/845. Longest Mountain in Array/845.cpp -------------------------------------------------------------------------------- /leetcode/856. Score of Parentheses/856-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/856. Score of Parentheses/856-2.cpp -------------------------------------------------------------------------------- /leetcode/856. Score of Parentheses/856-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/856. Score of Parentheses/856-3.cpp -------------------------------------------------------------------------------- /leetcode/856. Score of Parentheses/856-4.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/856. Score of Parentheses/856-4.cpp -------------------------------------------------------------------------------- /leetcode/856. Score of Parentheses/856.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/856. Score of Parentheses/856.cpp -------------------------------------------------------------------------------- /leetcode/859. Buddy Strings/859.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/859. Buddy Strings/859.cpp -------------------------------------------------------------------------------- /leetcode/860. Lemonade Change/860.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/860. Lemonade Change/860.cpp -------------------------------------------------------------------------------- /leetcode/867. Transpose Matrix/867.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/867. Transpose Matrix/867.cpp -------------------------------------------------------------------------------- /leetcode/869. Reordered Power of 2/869.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/869. Reordered Power of 2/869.py -------------------------------------------------------------------------------- /leetcode/872. Leaf-Similar Trees/872.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/872. Leaf-Similar Trees/872.py -------------------------------------------------------------------------------- /leetcode/874. Walking Robot Simulation/874.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/874. Walking Robot Simulation/874.cpp -------------------------------------------------------------------------------- /leetcode/875. Koko Eating Bananas/875.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/875. Koko Eating Bananas/875.py -------------------------------------------------------------------------------- /leetcode/876. Middle of the Linked List/876-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/876. Middle of the Linked List/876-2.cpp -------------------------------------------------------------------------------- /leetcode/876. Middle of the Linked List/876.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/876. Middle of the Linked List/876.cpp -------------------------------------------------------------------------------- /leetcode/883. Projection Area of 3D Shapes/883.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/883. Projection Area of 3D Shapes/883.cpp -------------------------------------------------------------------------------- /leetcode/89. Gray Code/89.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/89. Gray Code/89.py -------------------------------------------------------------------------------- /leetcode/892. Surface Area of 3D Shapes/892-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/892. Surface Area of 3D Shapes/892-2.cpp -------------------------------------------------------------------------------- /leetcode/892. Surface Area of 3D Shapes/892.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/892. Surface Area of 3D Shapes/892.cpp -------------------------------------------------------------------------------- /leetcode/892. Surface Area of 3D Shapes/892.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/892. Surface Area of 3D Shapes/892.py -------------------------------------------------------------------------------- /leetcode/895. Maximum Frequency Stack/895.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/895. Maximum Frequency Stack/895.cpp -------------------------------------------------------------------------------- /leetcode/896. Monotonic Array/869.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/896. Monotonic Array/869.cpp -------------------------------------------------------------------------------- /leetcode/896. Monotonic Array/896-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/896. Monotonic Array/896-2.cpp -------------------------------------------------------------------------------- /leetcode/897. Increasing Order Search Tree/897-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/897. Increasing Order Search Tree/897-2.cpp -------------------------------------------------------------------------------- /leetcode/897. Increasing Order Search Tree/897-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/897. Increasing Order Search Tree/897-3.cpp -------------------------------------------------------------------------------- /leetcode/897. Increasing Order Search Tree/897.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/897. Increasing Order Search Tree/897.cpp -------------------------------------------------------------------------------- /leetcode/897. Increasing Order Search Tree/897.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/897. Increasing Order Search Tree/897.py -------------------------------------------------------------------------------- /leetcode/9. Palindrome Number/9.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/9. Palindrome Number/9.cpp -------------------------------------------------------------------------------- /leetcode/905. Sort Array By Parity/905-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/905. Sort Array By Parity/905-2.cpp -------------------------------------------------------------------------------- /leetcode/905. Sort Array By Parity/905-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/905. Sort Array By Parity/905-3.cpp -------------------------------------------------------------------------------- /leetcode/905. Sort Array By Parity/905-4.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/905. Sort Array By Parity/905-4.cpp -------------------------------------------------------------------------------- /leetcode/905. Sort Array By Parity/905.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/905. Sort Array By Parity/905.cpp -------------------------------------------------------------------------------- /leetcode/908. Smallest Range I/908.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/908. Smallest Range I/908.cpp -------------------------------------------------------------------------------- /leetcode/91. Decode Ways/91.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/91. Decode Ways/91.cpp -------------------------------------------------------------------------------- /leetcode/912. Sort an Array/912.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/912. Sort an Array/912.cpp -------------------------------------------------------------------------------- /leetcode/912. Sort an Array/912.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/912. Sort an Array/912.js -------------------------------------------------------------------------------- /leetcode/912. Sort an Array/912.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/912. Sort an Array/912.py -------------------------------------------------------------------------------- /leetcode/914. X of a Kind in a Deck of Cards/914.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/914. X of a Kind in a Deck of Cards/914.py -------------------------------------------------------------------------------- /leetcode/917. Reverse Only Letters/917-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/917. Reverse Only Letters/917-2.cpp -------------------------------------------------------------------------------- /leetcode/917. Reverse Only Letters/917.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/917. Reverse Only Letters/917.cpp -------------------------------------------------------------------------------- /leetcode/917. Reverse Only Letters/917.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/917. Reverse Only Letters/917.java -------------------------------------------------------------------------------- /leetcode/922. Sort Array By Parity II/922-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/922. Sort Array By Parity II/922-2.cpp -------------------------------------------------------------------------------- /leetcode/922. Sort Array By Parity II/922-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/922. Sort Array By Parity II/922-3.cpp -------------------------------------------------------------------------------- /leetcode/922. Sort Array By Parity II/922.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/922. Sort Array By Parity II/922.cpp -------------------------------------------------------------------------------- /leetcode/929. Unique Email Addresses/929-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/929. Unique Email Addresses/929-2.cpp -------------------------------------------------------------------------------- /leetcode/929. Unique Email Addresses/929.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/929. Unique Email Addresses/929.cpp -------------------------------------------------------------------------------- /leetcode/929. Unique Email Addresses/929.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/929. Unique Email Addresses/929.js -------------------------------------------------------------------------------- /leetcode/931. Minimum Falling Path Sum/931.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/931. Minimum Falling Path Sum/931.cpp -------------------------------------------------------------------------------- /leetcode/933. Number of Recent Calls/933.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/933. Number of Recent Calls/933.cpp -------------------------------------------------------------------------------- /leetcode/933. Number of Recent Calls/933.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/933. Number of Recent Calls/933.java -------------------------------------------------------------------------------- /leetcode/937. Reorder Data in Log Files/937.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/937. Reorder Data in Log Files/937.cpp -------------------------------------------------------------------------------- /leetcode/938. Range Sum of BST/938-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/938. Range Sum of BST/938-2.cpp -------------------------------------------------------------------------------- /leetcode/938. Range Sum of BST/938.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/938. Range Sum of BST/938.cpp -------------------------------------------------------------------------------- /leetcode/94. Binary Tree Inorder Traversal/94.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/94. Binary Tree Inorder Traversal/94.py -------------------------------------------------------------------------------- /leetcode/941. Valid Mountain Array/941.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/941. Valid Mountain Array/941.cpp -------------------------------------------------------------------------------- /leetcode/941. Valid Mountain Array/941.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/941. Valid Mountain Array/941.java -------------------------------------------------------------------------------- /leetcode/942. DI String Match/942.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/942. DI String Match/942.cpp -------------------------------------------------------------------------------- /leetcode/942. DI String Match/942.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/942. DI String Match/942.java -------------------------------------------------------------------------------- /leetcode/944. Delete Columns to Make Sorted/944.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/944. Delete Columns to Make Sorted/944.cpp -------------------------------------------------------------------------------- /leetcode/946. Validate Stack Sequences/946.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/946. Validate Stack Sequences/946.cpp -------------------------------------------------------------------------------- /leetcode/949. Largest Time for Given Digits/949.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/949. Largest Time for Given Digits/949.cpp -------------------------------------------------------------------------------- /leetcode/951. Flip Equivalent Binary Trees/951-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/951. Flip Equivalent Binary Trees/951-2.cpp -------------------------------------------------------------------------------- /leetcode/951. Flip Equivalent Binary Trees/951.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/951. Flip Equivalent Binary Trees/951.cpp -------------------------------------------------------------------------------- /leetcode/953. Verifying an Alien Dictionary/953.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/953. Verifying an Alien Dictionary/953.cpp -------------------------------------------------------------------------------- /leetcode/96. Unique Binary Search Trees/96.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/96. Unique Binary Search Trees/96.py -------------------------------------------------------------------------------- /leetcode/965. Univalued Binary Tree/965-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/965. Univalued Binary Tree/965-2.cpp -------------------------------------------------------------------------------- /leetcode/965. Univalued Binary Tree/965.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/965. Univalued Binary Tree/965.cpp -------------------------------------------------------------------------------- /leetcode/969. Pancake Sorting/969.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/969. Pancake Sorting/969.cpp -------------------------------------------------------------------------------- /leetcode/970. Powerful Integers/970.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/970. Powerful Integers/970.cpp -------------------------------------------------------------------------------- /leetcode/973. K Closest Points to Origin/973.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/973. K Closest Points to Origin/973.cpp -------------------------------------------------------------------------------- /leetcode/973. K Closest Points to Origin/973.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/973. K Closest Points to Origin/973.java -------------------------------------------------------------------------------- /leetcode/976. Largest Perimeter Triangle/976.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/976. Largest Perimeter Triangle/976.cpp -------------------------------------------------------------------------------- /leetcode/976. Largest Perimeter Triangle/976.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/976. Largest Perimeter Triangle/976.java -------------------------------------------------------------------------------- /leetcode/976. Largest Perimeter Triangle/976.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/976. Largest Perimeter Triangle/976.py -------------------------------------------------------------------------------- /leetcode/98. Validate Binary Search Tree/98.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/98. Validate Binary Search Tree/98.py -------------------------------------------------------------------------------- /leetcode/986. Interval List Intersections/986.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/986. Interval List Intersections/986.cpp -------------------------------------------------------------------------------- /leetcode/991. Broken Calculator/991.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/991. Broken Calculator/991.cpp -------------------------------------------------------------------------------- /leetcode/993. Cousins in Binary Tree/993-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/993. Cousins in Binary Tree/993-2.cpp -------------------------------------------------------------------------------- /leetcode/993. Cousins in Binary Tree/993.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/993. Cousins in Binary Tree/993.cpp -------------------------------------------------------------------------------- /leetcode/994. Rotting Oranges/994.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/994. Rotting Oranges/994.cpp -------------------------------------------------------------------------------- /leetcode/997. Find the Town Judge/997.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/997. Find the Town Judge/997.java -------------------------------------------------------------------------------- /leetcode/999. Available Captures for Rook/999.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/999. Available Captures for Rook/999.cpp -------------------------------------------------------------------------------- /leetcode/ARRAY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/ARRAY.md -------------------------------------------------------------------------------- /leetcode/BACKTRACKING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/BACKTRACKING.md -------------------------------------------------------------------------------- /leetcode/BFS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/BFS.md -------------------------------------------------------------------------------- /leetcode/BINARY NUMBER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/BINARY NUMBER.md -------------------------------------------------------------------------------- /leetcode/BINARY SEARCH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/BINARY SEARCH.md -------------------------------------------------------------------------------- /leetcode/BINARY TREE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/BINARY TREE.md -------------------------------------------------------------------------------- /leetcode/BINARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/BINARY.md -------------------------------------------------------------------------------- /leetcode/BIT HACKS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/BIT HACKS.md -------------------------------------------------------------------------------- /leetcode/BIT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/BIT.md -------------------------------------------------------------------------------- /leetcode/BITMASK.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/BITMASK.md -------------------------------------------------------------------------------- /leetcode/BITSET.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/BITSET.md -------------------------------------------------------------------------------- /leetcode/BRUTEFORCE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/BRUTEFORCE.md -------------------------------------------------------------------------------- /leetcode/COUNTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/COUNTING.md -------------------------------------------------------------------------------- /leetcode/DATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/DATE.md -------------------------------------------------------------------------------- /leetcode/DECISION TREE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/DECISION TREE.md -------------------------------------------------------------------------------- /leetcode/DEQUE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/DEQUE.md -------------------------------------------------------------------------------- /leetcode/DESIGN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/DESIGN.md -------------------------------------------------------------------------------- /leetcode/DFS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/DFS.md -------------------------------------------------------------------------------- /leetcode/DIVIDE-AND-CONQUER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/DIVIDE-AND-CONQUER.md -------------------------------------------------------------------------------- /leetcode/DP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/DP.md -------------------------------------------------------------------------------- /leetcode/EASY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/EASY.md -------------------------------------------------------------------------------- /leetcode/FIBONACCI.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/FIBONACCI.md -------------------------------------------------------------------------------- /leetcode/GAME.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/GAME.md -------------------------------------------------------------------------------- /leetcode/GCD.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/GCD.md -------------------------------------------------------------------------------- /leetcode/GEOMETRY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/GEOMETRY.md -------------------------------------------------------------------------------- /leetcode/GRAPH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/GRAPH.md -------------------------------------------------------------------------------- /leetcode/GREEDY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/GREEDY.md -------------------------------------------------------------------------------- /leetcode/GRID.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/GRID.md -------------------------------------------------------------------------------- /leetcode/GROUPBY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/GROUPBY.md -------------------------------------------------------------------------------- /leetcode/GenerateIndex.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/GenerateIndex.sh -------------------------------------------------------------------------------- /leetcode/HARD.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/HARD.md -------------------------------------------------------------------------------- /leetcode/HASH MAP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/HASH MAP.md -------------------------------------------------------------------------------- /leetcode/HEAP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/HEAP.md -------------------------------------------------------------------------------- /leetcode/INTERVAL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/INTERVAL.md -------------------------------------------------------------------------------- /leetcode/Indexing.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/Indexing.sh -------------------------------------------------------------------------------- /leetcode/KNAPSACK.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/KNAPSACK.md -------------------------------------------------------------------------------- /leetcode/LAMBDA.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/LAMBDA.md -------------------------------------------------------------------------------- /leetcode/LINE SWEEP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/LINE SWEEP.md -------------------------------------------------------------------------------- /leetcode/LINKED LIST.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/LINKED LIST.md -------------------------------------------------------------------------------- /leetcode/LONGEST INCREASE SEQUENCE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/LONGEST INCREASE SEQUENCE.md -------------------------------------------------------------------------------- /leetcode/LRU.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/LRU.md -------------------------------------------------------------------------------- /leetcode/MATH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/MATH.md -------------------------------------------------------------------------------- /leetcode/MATRIX.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/MATRIX.md -------------------------------------------------------------------------------- /leetcode/MEDIUM.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/MEDIUM.md -------------------------------------------------------------------------------- /leetcode/MEMOIZATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/MEMOIZATION.md -------------------------------------------------------------------------------- /leetcode/MULTI SET.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/MULTI SET.md -------------------------------------------------------------------------------- /leetcode/PALINDROME.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/PALINDROME.md -------------------------------------------------------------------------------- /leetcode/PARENTHESES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/PARENTHESES.md -------------------------------------------------------------------------------- /leetcode/PARTITION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/PARTITION.md -------------------------------------------------------------------------------- /leetcode/PERMUTATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/PERMUTATION.md -------------------------------------------------------------------------------- /leetcode/PREFIX SUM.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/PREFIX SUM.md -------------------------------------------------------------------------------- /leetcode/PRIORITY QUEUE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/PRIORITY QUEUE.md -------------------------------------------------------------------------------- /leetcode/QUEUE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/QUEUE.md -------------------------------------------------------------------------------- /leetcode/RANDOM.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/RANDOM.md -------------------------------------------------------------------------------- /leetcode/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/README.md -------------------------------------------------------------------------------- /leetcode/RECURSION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/RECURSION.md -------------------------------------------------------------------------------- /leetcode/REGEXP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/REGEXP.md -------------------------------------------------------------------------------- /leetcode/SEARCH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/SEARCH.md -------------------------------------------------------------------------------- /leetcode/SEGMENT TREE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/SEGMENT TREE.md -------------------------------------------------------------------------------- /leetcode/SET.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/SET.md -------------------------------------------------------------------------------- /leetcode/SIMULATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/SIMULATION.md -------------------------------------------------------------------------------- /leetcode/SLIDING WINDOW.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/SLIDING WINDOW.md -------------------------------------------------------------------------------- /leetcode/SORTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/SORTING.md -------------------------------------------------------------------------------- /leetcode/SQL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/SQL.md -------------------------------------------------------------------------------- /leetcode/SQRT DECOMPOSITION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/SQRT DECOMPOSITION.md -------------------------------------------------------------------------------- /leetcode/STACK.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/STACK.md -------------------------------------------------------------------------------- /leetcode/STRING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/STRING.md -------------------------------------------------------------------------------- /leetcode/THREADING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/THREADING.md -------------------------------------------------------------------------------- /leetcode/TOPOLOGICAL SORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/TOPOLOGICAL SORT.md -------------------------------------------------------------------------------- /leetcode/TREE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/TREE.md -------------------------------------------------------------------------------- /leetcode/TRIANGLE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/TRIANGLE.md -------------------------------------------------------------------------------- /leetcode/TRIE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/TRIE.md -------------------------------------------------------------------------------- /leetcode/TWO POINTER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/TWO POINTER.md -------------------------------------------------------------------------------- /leetcode/UNION FIND.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/UNION FIND.md -------------------------------------------------------------------------------- /leetcode/XOR.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/XOR.md -------------------------------------------------------------------------------- /leetcode/list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/list.py -------------------------------------------------------------------------------- /leetcode/meta.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/leetcode/meta.sh -------------------------------------------------------------------------------- /template/BIT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/template/BIT.cpp -------------------------------------------------------------------------------- /template/DSU.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/template/DSU.cpp -------------------------------------------------------------------------------- /template/DSU.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/template/DSU.py -------------------------------------------------------------------------------- /template/SegmentTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/template/SegmentTree.cpp -------------------------------------------------------------------------------- /template/Trie.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/template/Trie.cpp -------------------------------------------------------------------------------- /template/Trie.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/template/Trie.py -------------------------------------------------------------------------------- /template/UnionFind.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/template/UnionFind.py -------------------------------------------------------------------------------- /template/cout-vector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/template/cout-vector.cpp -------------------------------------------------------------------------------- /template/kickstart.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/template/kickstart.cpp -------------------------------------------------------------------------------- /template/shortest-path-algorithms.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/template/shortest-path-algorithms.cpp -------------------------------------------------------------------------------- /template/shortest-path-algorithms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/template/shortest-path-algorithms.py -------------------------------------------------------------------------------- /template/split_string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/template/split_string.cpp -------------------------------------------------------------------------------- /timus/1000. A-B Problem/1000.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/timus/1000. A-B Problem/1000.cpp -------------------------------------------------------------------------------- /timus/1017. Staircases/1017.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/timus/1017. Staircases/1017.cpp -------------------------------------------------------------------------------- /timus/GenerateIndex.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/timus/GenerateIndex.sh -------------------------------------------------------------------------------- /timus/Indexing.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/timus/Indexing.sh -------------------------------------------------------------------------------- /timus/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DoctorLai/ACM/HEAD/timus/README.md --------------------------------------------------------------------------------