> ## Documentation Index
> Fetch the complete documentation index at: https://leetcode-py.wisl.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> leetcode-py is a Python LeetCode practice environment generator with one CLI: lcpy. It is not a service or platform.
> Each problem is a directory under leetcode/ with README.md, solution.py, test_solution.py, helpers.py, and playground.ipynb. lcpy gen creates them from JSON templates bundled with the package.
> Examples are backed by tests; copy them verbatim.

# NeetCode All in Python with Tested Solutions

> All 505 problems in the NeetCode All list: each generates a tested Python practice environment with a pytest suite and reference solutions.

NeetCode All holds 505 problems (119 Easy, 309 Medium, 77 Hard).
Every NeetCode problem in this catalog: all of NeetCode 150 plus everything added so far from the full roadmap. Generate all of it as tested Python practice environments with one command.

This collection includes every problem in [NeetCode 250](/catalog/neetcode-250).

Generate the whole collection into the current directory:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
lcpy gen -t neetcode
```

| #    | Problem                                                                                                                                        | Difficulty | Solution                                                                                                                                               |
| ---- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 1    | [Two Sum](/problems/two-sum)                                                                                                                   | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/two_sum/solution.py)                                                          |
| 2    | [Add Two Numbers](/problems/add-two-numbers)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/add_two_numbers/solution.py)                                                  |
| 3    | [Longest Substring Without Repeating Characters](/problems/longest-substring-without-repeating-characters)                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_substring_without_repeating_characters/solution.py)                   |
| 4    | [Median of Two Sorted Arrays](/problems/median-of-two-sorted-arrays)                                                                           | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/median_of_two_sorted_arrays/solution.py)                                      |
| 5    | [Longest Palindromic Substring](/problems/longest-palindromic-substring)                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_palindromic_substring/solution.py)                                    |
| 6    | [Zigzag Conversion](/problems/zigzag-conversion)                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/zigzag_conversion/solution.py)                                                |
| 7    | [Reverse Integer](/problems/reverse-integer)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/reverse_integer/solution.py)                                                  |
| 9    | [Palindrome Number](/problems/palindrome-number)                                                                                               | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/palindrome_number/solution.py)                                                |
| 10   | [Regular Expression Matching](/problems/regular-expression-matching)                                                                           | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/regular_expression_matching/solution.py)                                      |
| 11   | [Container With Most Water](/problems/container-with-most-water)                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/container_with_most_water/solution.py)                                        |
| 12   | [Integer to Roman](/problems/integer-to-roman)                                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/integer_to_roman/solution.py)                                                 |
| 13   | [Roman to Integer](/problems/roman-to-integer)                                                                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/roman_to_integer/solution.py)                                                 |
| 14   | [Longest Common Prefix](/problems/longest-common-prefix)                                                                                       | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_common_prefix/solution.py)                                            |
| 15   | [3Sum](/problems/three-sum)                                                                                                                    | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/three_sum/solution.py)                                                        |
| 17   | [Letter Combinations of a Phone Number](/problems/letter-combinations-of-a-phone-number)                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/letter_combinations_of_a_phone_number/solution.py)                            |
| 18   | [4Sum](/problems/four-sum)                                                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/four_sum/solution.py)                                                         |
| 19   | [Remove Nth Node From End of List](/problems/remove-nth-node-from-end-of-list)                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/remove_nth_node_from_end_of_list/solution.py)                                 |
| 20   | [Valid Parentheses](/problems/valid-parentheses)                                                                                               | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/valid_parentheses/solution.py)                                                |
| 21   | [Merge Two Sorted Lists](/problems/merge-two-sorted-lists)                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/merge_two_sorted_lists/solution.py)                                           |
| 22   | [Generate Parentheses](/problems/generate-parentheses)                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/generate_parentheses/solution.py)                                             |
| 23   | [Merge k Sorted Lists](/problems/merge-k-sorted-lists)                                                                                         | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/merge_k_sorted_lists/solution.py)                                             |
| 24   | [Swap Nodes in Pairs](/problems/swap-nodes-in-pairs)                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/swap_nodes_in_pairs/solution.py)                                              |
| 25   | [Reverse Nodes in k-Group](/problems/reverse-nodes-in-k-group)                                                                                 | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/reverse_nodes_in_k_group/solution.py)                                         |
| 26   | [Remove Duplicates From Sorted Array](/problems/remove-duplicates-from-sorted-array)                                                           | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/remove_duplicates_from_sorted_array/solution.py)                              |
| 27   | [Remove Element](/problems/remove-element)                                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/remove_element/solution.py)                                                   |
| 28   | [Find the Index of the First Occurrence in a String](/problems/find-the-index-of-the-first-occurrence-in-a-string)                             | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_the_index_of_the_first_occurrence_in_a_string/solution.py)               |
| 31   | [Next Permutation](/problems/next-permutation)                                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/next_permutation/solution.py)                                                 |
| 33   | [Search in Rotated Sorted Array](/problems/search-in-rotated-sorted-array)                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/search_in_rotated_sorted_array/solution.py)                                   |
| 34   | [Find First and Last Position of Element in Sorted Array](/problems/find-first-and-last-position-of-element-in-sorted-array)                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_first_and_last_position_of_element_in_sorted_array/solution.py)          |
| 35   | [Search Insert Position](/problems/search-insert-position)                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/search_insert_position/solution.py)                                           |
| 36   | [Valid Sudoku](/problems/valid-sudoku)                                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/valid_sudoku/solution.py)                                                     |
| 39   | [Combination Sum](/problems/combination-sum)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/combination_sum/solution.py)                                                  |
| 40   | [Combination Sum II](/problems/combination-sum-ii)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/combination_sum_ii/solution.py)                                               |
| 41   | [First Missing Positive](/problems/first-missing-positive)                                                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/first_missing_positive/solution.py)                                           |
| 42   | [Trapping Rain Water](/problems/trapping-rain-water)                                                                                           | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/trapping_rain_water/solution.py)                                              |
| 43   | [Multiply Strings](/problems/multiply-strings)                                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/multiply_strings/solution.py)                                                 |
| 45   | [Jump Game II](/problems/jump-game-ii)                                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/jump_game_ii/solution.py)                                                     |
| 46   | [Permutations](/problems/permutations)                                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/permutations/solution.py)                                                     |
| 47   | [Permutations II](/problems/permutations-ii)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/permutations_ii/solution.py)                                                  |
| 48   | [Rotate Image](/problems/rotate-image)                                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/rotate_image/solution.py)                                                     |
| 49   | [Group Anagrams](/problems/group-anagrams)                                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/group_anagrams/solution.py)                                                   |
| 50   | [Pow(x, n)](/problems/powx-n)                                                                                                                  | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/powx_n/solution.py)                                                           |
| 51   | [N-Queens](/problems/n-queens)                                                                                                                 | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/n_queens/solution.py)                                                         |
| 52   | [N-Queens II](/problems/n-queens-ii)                                                                                                           | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/n_queens_ii/solution.py)                                                      |
| 53   | [Maximum Subarray](/problems/maximum-subarray)                                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_subarray/solution.py)                                                 |
| 54   | [Spiral Matrix](/problems/spiral-matrix)                                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/spiral_matrix/solution.py)                                                    |
| 55   | [Jump Game](/problems/jump-game)                                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/jump_game/solution.py)                                                        |
| 56   | [Merge Intervals](/problems/merge-intervals)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/merge_intervals/solution.py)                                                  |
| 57   | [Insert Interval](/problems/insert-interval)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/insert_interval/solution.py)                                                  |
| 58   | [Length of Last Word](/problems/length-of-last-word)                                                                                           | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/length_of_last_word/solution.py)                                              |
| 59   | [Spiral Matrix II](/problems/spiral-matrix-ii)                                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/spiral_matrix_ii/solution.py)                                                 |
| 61   | [Rotate List](/problems/rotate-list)                                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/rotate_list/solution.py)                                                      |
| 62   | [Unique Paths](/problems/unique-paths)                                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/unique_paths/solution.py)                                                     |
| 63   | [Unique Paths II](/problems/unique-paths-ii)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/unique_paths_ii/solution.py)                                                  |
| 64   | [Minimum Path Sum](/problems/minimum-path-sum)                                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_path_sum/solution.py)                                                 |
| 66   | [Plus One](/problems/plus-one)                                                                                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/plus_one/solution.py)                                                         |
| 67   | [Add Binary](/problems/add-binary)                                                                                                             | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/add_binary/solution.py)                                                       |
| 68   | [Text Justification](/problems/text-justification)                                                                                             | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/text_justification/solution.py)                                               |
| 69   | [Sqrt(x)](/problems/sqrtx)                                                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/sqrtx/solution.py)                                                            |
| 70   | [Climbing Stairs](/problems/climbing-stairs)                                                                                                   | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/climbing_stairs/solution.py)                                                  |
| 71   | [Simplify Path](/problems/simplify-path)                                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/simplify_path/solution.py)                                                    |
| 72   | [Edit Distance](/problems/edit-distance)                                                                                                       | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/edit_distance/solution.py)                                                    |
| 73   | [Set Matrix Zeroes](/problems/set-matrix-zeroes)                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/set_matrix_zeroes/solution.py)                                                |
| 74   | [Search a 2D Matrix](/problems/search-a-2d-matrix)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/search_a_2d_matrix/solution.py)                                               |
| 75   | [Sort Colors](/problems/sort-colors)                                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/sort_colors/solution.py)                                                      |
| 76   | [Minimum Window Substring](/problems/minimum-window-substring)                                                                                 | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_window_substring/solution.py)                                         |
| 77   | [Combinations](/problems/combinations)                                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/combinations/solution.py)                                                     |
| 78   | [Subsets](/problems/subsets)                                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/subsets/solution.py)                                                          |
| 79   | [Word Search](/problems/word-search)                                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/word_search/solution.py)                                                      |
| 80   | [Remove Duplicates from Sorted Array II](/problems/remove-duplicates-from-sorted-array-ii)                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/remove_duplicates_from_sorted_array_ii/solution.py)                           |
| 81   | [Search in Rotated Sorted Array II](/problems/search-in-rotated-sorted-array-ii)                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/search_in_rotated_sorted_array_ii/solution.py)                                |
| 83   | [Remove Duplicates from Sorted List](/problems/remove-duplicates-from-sorted-list)                                                             | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/remove_duplicates_from_sorted_list/solution.py)                               |
| 84   | [Largest Rectangle in Histogram](/problems/largest-rectangle-in-histogram)                                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/largest_rectangle_in_histogram/solution.py)                                   |
| 86   | [Partition List](/problems/partition-list)                                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/partition_list/solution.py)                                                   |
| 88   | [Merge Sorted Array](/problems/merge-sorted-array)                                                                                             | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/merge_sorted_array/solution.py)                                               |
| 90   | [Subsets II](/problems/subsets-ii)                                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/subsets_ii/solution.py)                                                       |
| 91   | [Decode Ways](/problems/decode-ways)                                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/decode_ways/solution.py)                                                      |
| 92   | [Reverse Linked List II](/problems/reverse-linked-list-ii)                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/reverse_linked_list_ii/solution.py)                                           |
| 93   | [Restore IP Addresses](/problems/restore-ip-addresses)                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/restore_ip_addresses/solution.py)                                             |
| 94   | [Binary Tree Inorder Traversal](/problems/binary-tree-inorder-traversal)                                                                       | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/binary_tree_inorder_traversal/solution.py)                                    |
| 95   | [Unique Binary Search Trees II](/problems/unique-binary-search-trees-ii)                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/unique_binary_search_trees_ii/solution.py)                                    |
| 96   | [Unique Binary Search Trees](/problems/unique-binary-search-trees)                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/unique_binary_search_trees/solution.py)                                       |
| 97   | [Interleaving String](/problems/interleaving-string)                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/interleaving_string/solution.py)                                              |
| 98   | [Validate Binary Search Tree](/problems/validate-binary-search-tree)                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/validate_binary_search_tree/solution.py)                                      |
| 99   | [Recover Binary Search Tree](/problems/recover-binary-search-tree)                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/recover_binary_search_tree/solution.py)                                       |
| 100  | [Same Tree](/problems/same-tree)                                                                                                               | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/same_tree/solution.py)                                                        |
| 101  | [Symmetric Tree](/problems/symmetric-tree)                                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/symmetric_tree/solution.py)                                                   |
| 102  | [Binary Tree Level Order Traversal](/problems/binary-tree-level-order-traversal)                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/binary_tree_level_order_traversal/solution.py)                                |
| 103  | [Binary Tree Zigzag Level Order Traversal](/problems/binary-tree-zigzag-level-order-traversal)                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/binary_tree_zigzag_level_order_traversal/solution.py)                         |
| 104  | [Maximum Depth of Binary Tree](/problems/maximum-depth-of-binary-tree)                                                                         | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_depth_of_binary_tree/solution.py)                                     |
| 105  | [Construct Binary Tree from Preorder and Inorder Traversal](/problems/construct-binary-tree-from-preorder-and-inorder-traversal)               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/construct_binary_tree_from_preorder_and_inorder_traversal/solution.py)        |
| 106  | [Construct Binary Tree from Inorder and Postorder Traversal](/problems/construct-binary-tree-from-inorder-and-postorder-traversal)             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/construct_binary_tree_from_inorder_and_postorder_traversal/solution.py)       |
| 108  | [Convert Sorted Array to Binary Search Tree](/problems/convert-sorted-array-to-binary-search-tree)                                             | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/convert_sorted_array_to_binary_search_tree/solution.py)                       |
| 110  | [Balanced Binary Tree](/problems/balanced-binary-tree)                                                                                         | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/balanced_binary_tree/solution.py)                                             |
| 112  | [Path Sum](/problems/path-sum)                                                                                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/path_sum/solution.py)                                                         |
| 115  | [Distinct Subsequences](/problems/distinct-subsequences)                                                                                       | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/distinct_subsequences/solution.py)                                            |
| 116  | [Populating Next Right Pointers In Each Node](/problems/populating-next-right-pointers-in-each-node)                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/populating_next_right_pointers_in_each_node/solution.py)                      |
| 118  | [Pascal's Triangle](/problems/pascals-triangle)                                                                                                | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/pascals_triangle/solution.py)                                                 |
| 119  | [Pascal's Triangle II](/problems/pascals-triangle-ii)                                                                                          | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/pascals_triangle_ii/solution.py)                                              |
| 120  | [Triangle](/problems/triangle)                                                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/triangle/solution.py)                                                         |
| 121  | [Best Time to Buy and Sell Stock](/problems/best-time-to-buy-and-sell-stock)                                                                   | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/best_time_to_buy_and_sell_stock/solution.py)                                  |
| 122  | [Best Time to Buy and Sell Stock II](/problems/best-time-to-buy-and-sell-stock-ii)                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/best_time_to_buy_and_sell_stock_ii/solution.py)                               |
| 124  | [Binary Tree Maximum Path Sum](/problems/binary-tree-maximum-path-sum)                                                                         | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/binary_tree_maximum_path_sum/solution.py)                                     |
| 125  | [Valid Palindrome](/problems/valid-palindrome)                                                                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/valid_palindrome/solution.py)                                                 |
| 127  | [Word Ladder](/problems/word-ladder)                                                                                                           | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/word_ladder/solution.py)                                                      |
| 128  | [Longest Consecutive Sequence](/problems/longest-consecutive-sequence)                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_consecutive_sequence/solution.py)                                     |
| 129  | [Sum Root to Leaf Numbers](/problems/sum-root-to-leaf-numbers)                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/sum_root_to_leaf_numbers/solution.py)                                         |
| 130  | [Surrounded Regions](/problems/surrounded-regions)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/surrounded_regions/solution.py)                                               |
| 131  | [Palindrome Partitioning](/problems/palindrome-partitioning)                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/palindrome_partitioning/solution.py)                                          |
| 133  | [Clone Graph](/problems/clone-graph)                                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/clone_graph/solution.py)                                                      |
| 134  | [Gas Station](/problems/gas-station)                                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/gas_station/solution.py)                                                      |
| 135  | [Candy](/problems/candy)                                                                                                                       | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/candy/solution.py)                                                            |
| 136  | [Single Number](/problems/single-number)                                                                                                       | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/single_number/solution.py)                                                    |
| 138  | [Copy List with Random Pointer](/problems/copy-list-with-random-pointer)                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/copy_list_with_random_pointer/solution.py)                                    |
| 139  | [Word Break](/problems/word-break)                                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/word_break/solution.py)                                                       |
| 140  | [Word Break II](/problems/word-break-ii)                                                                                                       | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/word_break_ii/solution.py)                                                    |
| 141  | [Linked List Cycle](/problems/linked-list-cycle)                                                                                               | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/linked_list_cycle/solution.py)                                                |
| 143  | [Reorder List](/problems/reorder-list)                                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/reorder_list/solution.py)                                                     |
| 144  | [Binary Tree Preorder Traversal](/problems/binary-tree-preorder-traversal)                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/binary_tree_preorder_traversal/solution.py)                                   |
| 145  | [Binary Tree Postorder Traversal](/problems/binary-tree-postorder-traversal)                                                                   | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/binary_tree_postorder_traversal/solution.py)                                  |
| 146  | [LRU Cache](/problems/lru-cache)                                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/lru_cache/solution.py)                                                        |
| 147  | [Insertion Sort List](/problems/insertion-sort-list)                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/insertion_sort_list/solution.py)                                              |
| 148  | [Sort List](/problems/sort-list)                                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/sort_list/solution.py)                                                        |
| 149  | [Max Points on a Line](/problems/max-points-on-a-line)                                                                                         | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/max_points_on_a_line/solution.py)                                             |
| 150  | [Evaluate Reverse Polish Notation](/problems/evaluate-reverse-polish-notation)                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/evaluate_reverse_polish_notation/solution.py)                                 |
| 152  | [Maximum Product Subarray](/problems/maximum-product-subarray)                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_product_subarray/solution.py)                                         |
| 153  | [Find Minimum in Rotated Sorted Array](/problems/find-minimum-in-rotated-sorted-array)                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_minimum_in_rotated_sorted_array/solution.py)                             |
| 155  | [Min Stack](/problems/min-stack)                                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/min_stack/solution.py)                                                        |
| 156  | [Binary Tree Upside Down](/problems/binary-tree-upside-down)                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/binary_tree_upside_down/solution.py)                                          |
| 159  | [Longest Substring with At Most Two Distinct Characters](/problems/longest-substring-with-at-most-two-distinct-characters)                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_substring_with_at_most_two_distinct_characters/solution.py)           |
| 160  | [Intersection of Two Linked Lists](/problems/intersection-of-two-linked-lists)                                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/intersection_of_two_linked_lists/solution.py)                                 |
| 161  | [One Edit Distance](/problems/one-edit-distance)                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/one_edit_distance/solution.py)                                                |
| 162  | [Find Peak Element](/problems/find-peak-element)                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_peak_element/solution.py)                                                |
| 163  | [Missing Ranges](/problems/missing-ranges)                                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/missing_ranges/solution.py)                                                   |
| 167  | [Two Sum II - Input Array Is Sorted](/problems/two-sum-ii-input-array-is-sorted)                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/two_sum_ii_input_array_is_sorted/solution.py)                                 |
| 168  | [Excel Sheet Column Title](/problems/excel-sheet-column-title)                                                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/excel_sheet_column_title/solution.py)                                         |
| 169  | [Majority Element](/problems/majority-element)                                                                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/majority_element/solution.py)                                                 |
| 173  | [Binary Search Tree Iterator](/problems/binary-search-tree-iterator)                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/binary_search_tree_iterator/solution.py)                                      |
| 179  | [Largest Number](/problems/largest-number)                                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/largest_number/solution.py)                                                   |
| 186  | [Reverse Words in a String II](/problems/reverse-words-in-a-string-ii)                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/reverse_words_in_a_string_ii/solution.py)                                     |
| 187  | [Repeated DNA Sequences](/problems/repeated-dna-sequences)                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/repeated_dna_sequences/solution.py)                                           |
| 189  | [Rotate Array](/problems/rotate-array)                                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/rotate_array/solution.py)                                                     |
| 190  | [Reverse Bits](/problems/reverse-bits)                                                                                                         | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/reverse_bits/solution.py)                                                     |
| 191  | [Number of 1 Bits](/problems/number-of-1-bits)                                                                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/number_of_1_bits/solution.py)                                                 |
| 198  | [House Robber](/problems/house-robber)                                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/house_robber/solution.py)                                                     |
| 199  | [Binary Tree Right Side View](/problems/binary-tree-right-side-view)                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/binary_tree_right_side_view/solution.py)                                      |
| 200  | [Number of Islands](/problems/number-of-islands)                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/number_of_islands/solution.py)                                                |
| 201  | [Bitwise AND of Numbers Range](/problems/bitwise-and-of-numbers-range)                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/bitwise_and_of_numbers_range/solution.py)                                     |
| 202  | [Happy Number](/problems/happy-number)                                                                                                         | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/happy_number/solution.py)                                                     |
| 203  | [Remove Linked List Elements](/problems/remove-linked-list-elements)                                                                           | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/remove_linked_list_elements/solution.py)                                      |
| 204  | [Count Primes](/problems/count-primes)                                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/count_primes/solution.py)                                                     |
| 205  | [Isomorphic Strings](/problems/isomorphic-strings)                                                                                             | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/isomorphic_strings/solution.py)                                               |
| 206  | [Reverse Linked List](/problems/reverse-linked-list)                                                                                           | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/reverse_linked_list/solution.py)                                              |
| 207  | [Course Schedule](/problems/course-schedule)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/course_schedule/solution.py)                                                  |
| 208  | [Implement Trie (Prefix Tree)](/problems/implement-trie-prefix-tree)                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/implement_trie_prefix_tree/solution.py)                                       |
| 209  | [Minimum Size Subarray Sum](/problems/minimum-size-subarray-sum)                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_size_subarray_sum/solution.py)                                        |
| 210  | [Course Schedule II](/problems/course-schedule-ii)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/course_schedule_ii/solution.py)                                               |
| 211  | [Design Add and Search Words Data Structure](/problems/design-add-and-search-words-data-structure)                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/design_add_and_search_words_data_structure/solution.py)                       |
| 212  | [Word Search II](/problems/word-search-ii)                                                                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/word_search_ii/solution.py)                                                   |
| 213  | [House Robber II](/problems/house-robber-ii)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/house_robber_ii/solution.py)                                                  |
| 214  | [Shortest Palindrome](/problems/shortest-palindrome)                                                                                           | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/shortest_palindrome/solution.py)                                              |
| 215  | [Kth Largest Element in an Array](/problems/kth-largest-element-in-an-array)                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/kth_largest_element_in_an_array/solution.py)                                  |
| 217  | [Contains Duplicate](/problems/contains-duplicate)                                                                                             | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/contains_duplicate/solution.py)                                               |
| 219  | [Contains Duplicate II](/problems/contains-duplicate-ii)                                                                                       | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/contains_duplicate_ii/solution.py)                                            |
| 221  | [Maximal Square](/problems/maximal-square)                                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximal_square/solution.py)                                                   |
| 225  | [Implement Stack using Queues](/problems/implement-stack-using-queues)                                                                         | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/implement_stack_using_queues/solution.py)                                     |
| 226  | [Invert Binary Tree](/problems/invert-binary-tree)                                                                                             | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/invert_binary_tree/solution.py)                                               |
| 227  | [Basic Calculator II](/problems/basic-calculator-ii)                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/basic_calculator_ii/solution.py)                                              |
| 229  | [Majority Element II](/problems/majority-element-ii)                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/majority_element_ii/solution.py)                                              |
| 230  | [Kth Smallest Element in a BST](/problems/kth-smallest-element-in-a-bst)                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/kth_smallest_element_in_a_bst/solution.py)                                    |
| 231  | [Power of Two](/problems/power-of-two)                                                                                                         | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/power_of_two/solution.py)                                                     |
| 232  | [Implement Queue using Stacks](/problems/implement-queue-using-stacks)                                                                         | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/implement_queue_using_stacks/solution.py)                                     |
| 234  | [Palindrome Linked List](/problems/palindrome-linked-list)                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/palindrome_linked_list/solution.py)                                           |
| 235  | [Lowest Common Ancestor of a Binary Search Tree](/problems/lowest-common-ancestor-of-a-binary-search-tree)                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/lowest_common_ancestor_of_a_binary_search_tree/solution.py)                   |
| 236  | [Lowest Common Ancestor of a Binary Tree](/problems/lowest-common-ancestor-of-a-binary-tree)                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/lowest_common_ancestor_of_a_binary_tree/solution.py)                          |
| 238  | [Product of Array Except Self](/problems/product-of-array-except-self)                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/product_of_array_except_self/solution.py)                                     |
| 239  | [Sliding Window Maximum](/problems/sliding-window-maximum)                                                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/sliding_window_maximum/solution.py)                                           |
| 241  | [Different Ways to Add Parentheses](/problems/different-ways-to-add-parentheses)                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/different_ways_to_add_parentheses/solution.py)                                |
| 242  | [Valid Anagram](/problems/valid-anagram)                                                                                                       | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/valid_anagram/solution.py)                                                    |
| 243  | [Shortest Word Distance](/problems/shortest-word-distance)                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/shortest_word_distance/solution.py)                                           |
| 244  | [Shortest Word Distance II](/problems/shortest-word-distance-ii)                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/shortest_word_distance_ii/solution.py)                                        |
| 246  | [Strobogrammatic Number](/problems/strobogrammatic-number)                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/strobogrammatic_number/solution.py)                                           |
| 247  | [Strobogrammatic Number II](/problems/strobogrammatic-number-ii)                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/strobogrammatic_number_ii/solution.py)                                        |
| 249  | [Group Shifted Strings](/problems/group-shifted-strings)                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/group_shifted_strings/solution.py)                                            |
| 250  | [Count Univalue Subtrees](/problems/count-univalue-subtrees)                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/count_univalue_subtrees/solution.py)                                          |
| 252  | [Meeting Rooms](/problems/meeting-rooms)                                                                                                       | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/meeting_rooms/solution.py)                                                    |
| 253  | [Meeting Rooms II](/problems/meeting-rooms-ii)                                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/meeting_rooms_ii/solution.py)                                                 |
| 254  | [Factor Combinations](/problems/factor-combinations)                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/factor_combinations/solution.py)                                              |
| 255  | [Verify Preorder Sequence in Binary Search Tree](/problems/verify-preorder-sequence-in-binary-search-tree)                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/verify_preorder_sequence_in_binary_search_tree/solution.py)                   |
| 256  | [Paint House](/problems/paint-house)                                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/paint_house/solution.py)                                                      |
| 259  | [3Sum Smaller](/problems/three-sum-smaller)                                                                                                    | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/three_sum_smaller/solution.py)                                                |
| 260  | [Single Number III](/problems/single-number-iii)                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/single_number_iii/solution.py)                                                |
| 261  | [Graph Valid Tree](/problems/graph-valid-tree)                                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/graph_valid_tree/solution.py)                                                 |
| 263  | [Ugly Number](/problems/ugly-number)                                                                                                           | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/ugly_number/solution.py)                                                      |
| 264  | [Ugly Number II](/problems/ugly-number-ii)                                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/ugly_number_ii/solution.py)                                                   |
| 265  | [Paint House II](/problems/paint-house-ii)                                                                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/paint_house_ii/solution.py)                                                   |
| 266  | [Palindrome Permutation](/problems/palindrome-permutation)                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/palindrome_permutation/solution.py)                                           |
| 268  | [Missing Number](/problems/missing-number)                                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/missing_number/solution.py)                                                   |
| 269  | [Alien Dictionary](/problems/alien-dictionary)                                                                                                 | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/alien_dictionary/solution.py)                                                 |
| 270  | [Closest Binary Search Tree Value](/problems/closest-bst-value)                                                                                | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/closest_bst_value/solution.py)                                                |
| 271  | [Encode and Decode Strings](/problems/encode-and-decode-strings)                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/encode_and_decode_strings/solution.py)                                        |
| 272  | [Closest Binary Search Tree Value II](/problems/closest-bst-value-ii)                                                                          | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/closest_bst_value_ii/solution.py)                                             |
| 273  | [Integer to English Words](/problems/integer-to-english-words)                                                                                 | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/integer_to_english_words/solution.py)                                         |
| 276  | [Paint Fence](/problems/paint-fence)                                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/paint_fence/solution.py)                                                      |
| 277  | [Find the Celebrity](/problems/find-the-celebrity)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_the_celebrity/solution.py)                                               |
| 279  | [Perfect Squares](/problems/perfect-squares)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/perfect_squares/solution.py)                                                  |
| 280  | [Wiggle Sort](/problems/wiggle-sort)                                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/wiggle_sort/solution.py)                                                      |
| 281  | [Zigzag Iterator](/problems/zigzag-iterator)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/zigzag_iterator/solution.py)                                                  |
| 283  | [Move Zeroes](/problems/move-zeroes)                                                                                                           | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/move_zeroes/solution.py)                                                      |
| 286  | [Walls And Gates](/problems/walls-and-gates)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/walls_and_gates/solution.py)                                                  |
| 287  | [Find the Duplicate Number](/problems/find-the-duplicate-number)                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_the_duplicate_number/solution.py)                                        |
| 290  | [Word Pattern](/problems/word-pattern)                                                                                                         | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/word_pattern/solution.py)                                                     |
| 291  | [Word Pattern II](/problems/word-pattern-ii)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/word_pattern_ii/solution.py)                                                  |
| 295  | [Find Median from Data Stream](/problems/find-median-from-data-stream)                                                                         | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_median_from_data_stream/solution.py)                                     |
| 296  | [Best Meeting Point](/problems/best-meeting-point)                                                                                             | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/best_meeting_point/solution.py)                                               |
| 297  | [Serialize and Deserialize Binary Tree](/problems/serialize-and-deserialize-binary-tree)                                                       | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/serialize_and_deserialize_binary_tree/solution.py)                            |
| 298  | [Binary Tree Longest Consecutive Sequence](/problems/binary-tree-longest-consecutive-sequence)                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/binary_tree_longest_consecutive_sequence/solution.py)                         |
| 300  | [Longest Increasing Subsequence](/problems/longest-increasing-subsequence)                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_increasing_subsequence/solution.py)                                   |
| 303  | [Range Sum Query - Immutable](/problems/range-sum-query-immutable)                                                                             | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/range_sum_query_immutable/solution.py)                                        |
| 304  | [Range Sum Query 2D - Immutable](/problems/range-sum-query-2d-immutable)                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/range_sum_query_2d_immutable/solution.py)                                     |
| 305  | [Number of Islands II](/problems/number-of-islands-ii)                                                                                         | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/number_of_islands_ii/solution.py)                                             |
| 308  | [Range Sum Query 2D - Mutable](/problems/range-sum-query-2d-mutable)                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/range_sum_query_2d_mutable/solution.py)                                       |
| 309  | [Best Time to Buy and Sell Stock with Cooldown](/problems/best-time-to-buy-and-sell-stock-with-cooldown)                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/best_time_to_buy_and_sell_stock_with_cooldown/solution.py)                    |
| 310  | [Minimum Height Trees](/problems/minimum-height-trees)                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_height_trees/solution.py)                                             |
| 311  | [Sparse Matrix Multiplication](/problems/sparse-matrix-multiplication)                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/sparse_matrix_multiplication/solution.py)                                     |
| 312  | [Burst Balloons](/problems/burst-balloons)                                                                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/burst_balloons/solution.py)                                                   |
| 314  | [Binary Tree Vertical Order Traversal](/problems/binary-tree-vertical-order-traversal)                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/binary_tree_vertical_order_traversal/solution.py)                             |
| 317  | [Shortest Distance from All Buildings](/problems/shortest-distance-from-all-buildings)                                                         | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/shortest_distance_from_all_buildings/solution.py)                             |
| 322  | [Coin Change](/problems/coin-change)                                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/coin_change/solution.py)                                                      |
| 323  | [Number of Connected Components in an Undirected Graph](/problems/number-of-connected-components-in-an-undirected-graph)                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/number_of_connected_components_in_an_undirected_graph/solution.py)            |
| 329  | [Longest Increasing Path in a Matrix](/problems/longest-increasing-path-in-a-matrix)                                                           | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_increasing_path_in_a_matrix/solution.py)                              |
| 332  | [Reconstruct Itinerary](/problems/reconstruct-itinerary)                                                                                       | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/reconstruct_itinerary/solution.py)                                            |
| 333  | [Largest BST Subtree](/problems/largest-bst-subtree)                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/largest_bst_subtree/solution.py)                                              |
| 337  | [House Robber III](/problems/house-robber-iii)                                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/house_robber_iii/solution.py)                                                 |
| 338  | [Counting Bits](/problems/counting-bits)                                                                                                       | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/counting_bits/solution.py)                                                    |
| 339  | [Nested List Weight Sum](/problems/nested-list-weight-sum)                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/nested_list_weight_sum/solution.py)                                           |
| 340  | [Longest Substring with At Most K Distinct Characters](/problems/longest-substring-with-at-most-k-distinct-characters)                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_substring_with_at_most_k_distinct_characters/solution.py)             |
| 341  | [Flatten Nested List Iterator](/problems/flatten-nested-list-iterator)                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/flatten_nested_list_iterator/solution.py)                                     |
| 342  | [Power of Four](/problems/power-of-four)                                                                                                       | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/power_of_four/solution.py)                                                    |
| 343  | [Integer Break](/problems/integer-break)                                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/integer_break/solution.py)                                                    |
| 344  | [Reverse String](/problems/reverse-string)                                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/reverse_string/solution.py)                                                   |
| 346  | [Moving Average from Data Stream](/problems/moving-average-from-data-stream)                                                                   | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/moving_average_from_data_stream/solution.py)                                  |
| 347  | [Top K Frequent Elements](/problems/top-k-frequent-elements)                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/top_k_frequent_elements/solution.py)                                          |
| 348  | [Design Tic-Tac-Toe](/problems/design-tic-tac-toe)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/design_tic_tac_toe/solution.py)                                               |
| 349  | [Intersection of Two Arrays](/problems/intersection-of-two-arrays)                                                                             | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/intersection_of_two_arrays/solution.py)                                       |
| 351  | [Android Unlock Patterns](/problems/android-unlock-patterns)                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/android_unlock_patterns/solution.py)                                          |
| 352  | [Data Stream as Disjoint Intervals](/problems/data-stream-as-disjoint-intervals)                                                               | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/data_stream_as_disjoint_intervals/solution.py)                                |
| 354  | [Russian Doll Envelopes](/problems/russian-doll-envelopes)                                                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/russian_doll_envelopes/solution.py)                                           |
| 355  | [Design Twitter](/problems/design-twitter)                                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/design_twitter/solution.py)                                                   |
| 362  | [Design Hit Counter](/problems/design-hit-counter)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/design_hit_counter/solution.py)                                               |
| 367  | [Valid Perfect Square](/problems/valid-perfect-square)                                                                                         | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/valid_perfect_square/solution.py)                                             |
| 368  | [Largest Divisible Subset](/problems/largest-divisible-subset)                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/largest_divisible_subset/solution.py)                                         |
| 371  | [Sum of Two Integers](/problems/sum-of-two-integers)                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/sum_of_two_integers/solution.py)                                              |
| 374  | [Guess Number Higher or Lower](/problems/guess-number-higher-or-lower)                                                                         | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/guess_number_higher_or_lower/solution.py)                                     |
| 377  | [Combination Sum IV](/problems/combination-sum-iv)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/combination_sum_iv/solution.py)                                               |
| 380  | [Insert Delete GetRandom O(1)](/problems/insert-delete-getrandom-o1)                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/insert_delete_getrandom_o1/solution.py)                                       |
| 383  | [Ransom Note](/problems/ransom-note)                                                                                                           | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/ransom_note/solution.py)                                                      |
| 386  | [Lexicographical Numbers](/problems/lexicographical-numbers)                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/lexicographical_numbers/solution.py)                                          |
| 387  | [First Unique Character in a String](/problems/first-unique-character-in-a-string)                                                             | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/first_unique_character_in_a_string/solution.py)                               |
| 389  | [Find the Difference](/problems/find-the-difference)                                                                                           | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_the_difference/solution.py)                                              |
| 392  | [Is Subsequence](/problems/is-subsequence)                                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/is_subsequence/solution.py)                                                   |
| 394  | [Decode String](/problems/decode-string)                                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/decode_string/solution.py)                                                    |
| 399  | [Evaluate Division](/problems/evaluate-division)                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/evaluate_division/solution.py)                                                |
| 402  | [Remove K Digits](/problems/remove-k-digits)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/remove_k_digits/solution.py)                                                  |
| 407  | [Trapping Rain Water II](/problems/trapping-rain-water-ii)                                                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/trapping_rain_water_ii/solution.py)                                           |
| 409  | [Longest Palindrome](/problems/longest-palindrome)                                                                                             | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_palindrome/solution.py)                                               |
| 410  | [Split Array Largest Sum](/problems/split-array-largest-sum)                                                                                   | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/split_array_largest_sum/solution.py)                                          |
| 416  | [Partition Equal Subset Sum](/problems/partition-equal-subset-sum)                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/partition_equal_subset_sum/solution.py)                                       |
| 417  | [Pacific Atlantic Water Flow](/problems/pacific-atlantic-water-flow)                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/pacific_atlantic_water_flow/solution.py)                                      |
| 424  | [Longest Repeating Character Replacement](/problems/longest-repeating-character-replacement)                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_repeating_character_replacement/solution.py)                          |
| 427  | [Construct Quad Tree](/problems/construct-quad-tree)                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/construct_quad_tree/solution.py)                                              |
| 435  | [Non-overlapping Intervals](/problems/non-overlapping-intervals)                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/non_overlapping_intervals/solution.py)                                        |
| 438  | [Find All Anagrams in a String](/problems/find-all-anagrams-in-a-string)                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_all_anagrams_in_a_string/solution.py)                                    |
| 440  | [K-th Smallest in Lexicographical Order](/problems/k-th-smallest-in-lexicographical-order)                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/k_th_smallest_in_lexicographical_order/solution.py)                           |
| 441  | [Arranging Coins](/problems/arranging-coins)                                                                                                   | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/arranging_coins/solution.py)                                                  |
| 442  | [Find All Duplicates in an Array](/problems/find-all-duplicates-in-an-array)                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_all_duplicates_in_an_array/solution.py)                                  |
| 443  | [String Compression](/problems/string-compression)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/string_compression/solution.py)                                               |
| 445  | [Add Two Numbers II](/problems/add-two-numbers-ii)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/add_two_numbers_ii/solution.py)                                               |
| 446  | [Arithmetic Slices II - Subsequence](/problems/arithmetic-slices-ii-subsequence)                                                               | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/arithmetic_slices_ii_subsequence/solution.py)                                 |
| 448  | [Find All Numbers Disappeared in an Array](/problems/find-all-numbers-disappeared-in-an-array)                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_all_numbers_disappeared_in_an_array/solution.py)                         |
| 450  | [Delete Node in a BST](/problems/delete-node-in-a-bst)                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/delete_node_in_a_bst/solution.py)                                             |
| 451  | [Sort Characters By Frequency](/problems/sort-characters-by-frequency)                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/sort_characters_by_frequency/solution.py)                                     |
| 452  | [Minimum Number of Arrows to Burst Balloons](/problems/minimum-number-of-arrows-to-burst-balloons)                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_number_of_arrows_to_burst_balloons/solution.py)                       |
| 455  | [Assign Cookies](/problems/assign-cookies)                                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/assign_cookies/solution.py)                                                   |
| 456  | [132 Pattern](/problems/pattern-132)                                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/pattern_132/solution.py)                                                      |
| 460  | [LFU Cache](/problems/lfu-cache)                                                                                                               | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/lfu_cache/solution.py)                                                        |
| 463  | [Island Perimeter](/problems/island-perimeter)                                                                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/island_perimeter/solution.py)                                                 |
| 472  | [Concatenated Words](/problems/concatenated-words)                                                                                             | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/concatenated_words/solution.py)                                               |
| 473  | [Matchsticks to Square](/problems/matchsticks-to-square)                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/matchsticks_to_square/solution.py)                                            |
| 474  | [Ones and Zeroes](/problems/ones-and-zeroes)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/ones_and_zeroes/solution.py)                                                  |
| 485  | [Max Consecutive Ones](/problems/max-consecutive-ones)                                                                                         | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/max_consecutive_ones/solution.py)                                             |
| 494  | [Target Sum](/problems/target-sum)                                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/target_sum/solution.py)                                                       |
| 496  | [Next Greater Element I](/problems/next-greater-element-i)                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/next_greater_element_i/solution.py)                                           |
| 502  | [IPO](/problems/ipo)                                                                                                                           | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/ipo/solution.py)                                                              |
| 513  | [Find Bottom Left Tree Value](/problems/find-bottom-left-tree-value)                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_bottom_left_tree_value/solution.py)                                      |
| 514  | [Freedom Trail](/problems/freedom-trail)                                                                                                       | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/freedom_trail/solution.py)                                                    |
| 515  | [Find Largest Value in Each Tree Row](/problems/find-largest-value-in-each-tree-row)                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_largest_value_in_each_tree_row/solution.py)                              |
| 516  | [Longest Palindromic Subsequence](/problems/longest-palindromic-subsequence)                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_palindromic_subsequence/solution.py)                                  |
| 518  | [Coin Change II](/problems/coin-change-ii)                                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/coin_change_ii/solution.py)                                                   |
| 523  | [Continuous Subarray Sum](/problems/continuous-subarray-sum)                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/continuous_subarray_sum/solution.py)                                          |
| 525  | [Contiguous Array](/problems/contiguous-array)                                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/contiguous_array/solution.py)                                                 |
| 528  | [Random Pick with Weight](/problems/random-pick-with-weight)                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/random_pick_with_weight/solution.py)                                          |
| 535  | [Encode and Decode TinyURL](/problems/encode-and-decode-tinyurl)                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/encode_and_decode_tinyurl/solution.py)                                        |
| 538  | [Convert BST to Greater Tree](/problems/convert-bst-to-greater-tree)                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/convert_bst_to_greater_tree/solution.py)                                      |
| 539  | [Minimum Time Difference](/problems/minimum-time-difference)                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_time_difference/solution.py)                                          |
| 540  | [Single Element in a Sorted Array](/problems/single-element-in-a-sorted-array)                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/single_element_in_a_sorted_array/solution.py)                                 |
| 543  | [Diameter of Binary Tree](/problems/diameter-of-binary-tree)                                                                                   | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/diameter_of_binary_tree/solution.py)                                          |
| 547  | [Number of Provinces](/problems/number-of-provinces)                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/number_of_provinces/solution.py)                                              |
| 552  | [Student Attendance Record II](/problems/student-attendance-record-ii)                                                                         | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/student_attendance_record_ii/solution.py)                                     |
| 554  | [Brick Wall](/problems/brick-wall)                                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/brick_wall/solution.py)                                                       |
| 557  | [Reverse Words in a String III](/problems/reverse-words-in-a-string-iii)                                                                       | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/reverse_words_in_a_string_iii/solution.py)                                    |
| 560  | [Subarray Sum Equals K](/problems/subarray-sum-equals-k)                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/subarray_sum_equals_k/solution.py)                                            |
| 567  | [Permutation in String](/problems/permutation-in-string)                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/permutation_in_string/solution.py)                                            |
| 572  | [Subtree of Another Tree](/problems/subtree-of-another-tree)                                                                                   | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/subtree_of_another_tree/solution.py)                                          |
| 576  | [Out of Boundary Paths](/problems/out-of-boundary-paths)                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/out_of_boundary_paths/solution.py)                                            |
| 588  | [Design In-Memory File System](/problems/design-in-memory-file-system)                                                                         | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/design_in_memory_file_system/solution.py)                                     |
| 590  | [N-ary Tree Postorder Traversal](/problems/n-ary-tree-postorder-traversal)                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/n_ary_tree_postorder_traversal/solution.py)                                   |
| 605  | [Can Place Flowers](/problems/can-place-flowers)                                                                                               | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/can_place_flowers/solution.py)                                                |
| 606  | [Construct String from Binary Tree](/problems/construct-string-from-binary-tree)                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/construct_string_from_binary_tree/solution.py)                                |
| 617  | [Merge Two Binary Trees](/problems/merge-two-binary-trees)                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/merge_two_binary_trees/solution.py)                                           |
| 621  | [Task Scheduler](/problems/task-scheduler)                                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/task_scheduler/solution.py)                                                   |
| 622  | [Design Circular Queue](/problems/design-circular-queue)                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/design_circular_queue/solution.py)                                            |
| 624  | [Maximum Distance in Arrays](/problems/maximum-distance-in-arrays)                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_distance_in_arrays/solution.py)                                       |
| 629  | [K Inverse Pairs Array](/problems/k-inverse-pairs-array)                                                                                       | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/k_inverse_pairs_array/solution.py)                                            |
| 632  | [Smallest Range Covering Elements from K Lists](/problems/smallest-range-covering-elements-from-k-lists)                                       | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/smallest_range_covering_elements_from_k_lists/solution.py)                    |
| 633  | [Sum of Square Numbers](/problems/sum-of-square-numbers)                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/sum_of_square_numbers/solution.py)                                            |
| 645  | [Set Mismatch](/problems/set-mismatch)                                                                                                         | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/set_mismatch/solution.py)                                                     |
| 646  | [Maximum Length of Pair Chain](/problems/maximum-length-of-pair-chain)                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_length_of_pair_chain/solution.py)                                     |
| 647  | [Palindromic Substrings](/problems/palindromic-substrings)                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/palindromic_substrings/solution.py)                                           |
| 649  | [Dota2 Senate](/problems/dota2-senate)                                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/dota2_senate/solution.py)                                                     |
| 650  | [2 Keys Keyboard](/problems/two-keys-keyboard)                                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/two_keys_keyboard/solution.py)                                                |
| 652  | [Find Duplicate Subtrees](/problems/find-duplicate-subtrees)                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_duplicate_subtrees/solution.py)                                          |
| 658  | [Find K Closest Elements](/problems/find-k-closest-elements)                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_k_closest_elements/solution.py)                                          |
| 661  | [Image Smoother](/problems/image-smoother)                                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/image_smoother/solution.py)                                                   |
| 662  | [Maximum Width of Binary Tree](/problems/maximum-width-of-binary-tree)                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_width_of_binary_tree/solution.py)                                     |
| 665  | [Non-decreasing Array](/problems/non-decreasing-array)                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/non_decreasing_array/solution.py)                                             |
| 669  | [Trim a Binary Search Tree](/problems/trim-a-binary-search-tree)                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/trim_a_binary_search_tree/solution.py)                                        |
| 670  | [Maximum Swap](/problems/maximum-swap)                                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_swap/solution.py)                                                     |
| 673  | [Number of Longest Increasing Subsequence](/problems/number-of-longest-increasing-subsequence)                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/number_of_longest_increasing_subsequence/solution.py)                         |
| 678  | [Valid Parenthesis String](/problems/valid-parenthesis-string)                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/valid_parenthesis_string/solution.py)                                         |
| 680  | [Valid Palindrome II](/problems/valid-palindrome-ii)                                                                                           | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/valid_palindrome_ii/solution.py)                                              |
| 682  | [Baseball Game](/problems/baseball-game)                                                                                                       | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/baseball_game/solution.py)                                                    |
| 684  | [Redundant Connection](/problems/redundant-connection)                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/redundant_connection/solution.py)                                             |
| 689  | [Maximum Sum of 3 Non-Overlapping Subarrays](/problems/maximum-sum-of-3-non-overlapping-subarrays)                                             | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_sum_of_3_non_overlapping_subarrays/solution.py)                       |
| 691  | [Stickers to Spell Word](/problems/stickers-to-spell-word)                                                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/stickers_to_spell_word/solution.py)                                           |
| 695  | [Max Area of Island](/problems/max-area-of-island)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/max_area_of_island/solution.py)                                               |
| 698  | [Partition to K Equal Sum Subsets](/problems/partition-to-k-equal-sum-subsets)                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/partition_to_k_equal_sum_subsets/solution.py)                                 |
| 701  | [Insert into a Binary Search Tree](/problems/insert-into-a-binary-search-tree)                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/insert_into_a_binary_search_tree/solution.py)                                 |
| 703  | [Kth Largest Element in a Stream](/problems/kth-largest-element-in-a-stream)                                                                   | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/kth_largest_element_in_a_stream/solution.py)                                  |
| 704  | [Binary Search](/problems/binary-search)                                                                                                       | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/binary_search/solution.py)                                                    |
| 705  | [Design HashSet](/problems/design-hash-set)                                                                                                    | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/design_hash_set/solution.py)                                                  |
| 706  | [Design HashMap](/problems/design-hash-map)                                                                                                    | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/design_hash_map/solution.py)                                                  |
| 707  | [Design Linked List](/problems/design-linked-list)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/design_linked_list/solution.py)                                               |
| 713  | [Subarray Product Less Than K](/problems/subarray-product-less-than-k)                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/subarray_product_less_than_k/solution.py)                                     |
| 719  | [Find K-th Smallest Pair Distance](/problems/find-k-th-smallest-pair-distance)                                                                 | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_k_th_smallest_pair_distance/solution.py)                                 |
| 721  | [Accounts Merge](/problems/accounts-merge)                                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/accounts_merge/solution.py)                                                   |
| 724  | [Find Pivot Index](/problems/find-pivot-index)                                                                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_pivot_index/solution.py)                                                 |
| 725  | [Split Linked List in Parts](/problems/split-linked-list-in-parts)                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/split_linked_list_in_parts/solution.py)                                       |
| 726  | [Number of Atoms](/problems/number-of-atoms)                                                                                                   | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/number_of_atoms/solution.py)                                                  |
| 729  | [My Calendar I](/problems/my-calendar-i)                                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/my_calendar_i/solution.py)                                                    |
| 731  | [My Calendar II](/problems/my-calendar-ii)                                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/my_calendar_ii/solution.py)                                                   |
| 733  | [Flood Fill](/problems/flood-fill)                                                                                                             | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/flood_fill/solution.py)                                                       |
| 735  | [Asteroid Collision](/problems/asteroid-collision)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/asteroid_collision/solution.py)                                               |
| 739  | [Daily Temperatures](/problems/daily-temperatures)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/daily_temperatures/solution.py)                                               |
| 740  | [Delete and Earn](/problems/delete-and-earn)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/delete_and_earn/solution.py)                                                  |
| 741  | [Cherry Pickup](/problems/cherry-pickup)                                                                                                       | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/cherry_pickup/solution.py)                                                    |
| 743  | [Network Delay Time](/problems/network-delay-time)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/network_delay_time/solution.py)                                               |
| 746  | [Min Cost Climbing Stairs](/problems/min-cost-climbing-stairs)                                                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/min_cost_climbing_stairs/solution.py)                                         |
| 752  | [Open the Lock](/problems/open-the-lock)                                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/open_the_lock/solution.py)                                                    |
| 759  | [Employee Free Time](/problems/employee-free-time)                                                                                             | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/employee_free_time/solution.py)                                               |
| 763  | [Partition Labels](/problems/partition-labels)                                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/partition_labels/solution.py)                                                 |
| 767  | [Reorganize String](/problems/reorganize-string)                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/reorganize_string/solution.py)                                                |
| 769  | [Max Chunks To Make Sorted](/problems/max-chunks-to-make-sorted)                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/max_chunks_to_make_sorted/solution.py)                                        |
| 773  | [Sliding Puzzle](/problems/sliding-puzzle)                                                                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/sliding_puzzle/solution.py)                                                   |
| 778  | [Swim in Rising Water](/problems/swim-in-rising-water)                                                                                         | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/swim_in_rising_water/solution.py)                                             |
| 779  | [K-th Symbol in Grammar](/problems/kth-symbol-in-grammar)                                                                                      | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/kth_symbol_in_grammar/solution.py)                                            |
| 783  | [Minimum Distance Between BST Nodes](/problems/min-distance-in-bst)                                                                            | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/min_distance_in_bst/solution.py)                                              |
| 785  | [Is Graph Bipartite?](/problems/is-graph-bipartite)                                                                                            | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/is_graph_bipartite/solution.py)                                               |
| 787  | [Cheapest Flights Within K Stops](/problems/cheapest-flights-within-k-stops)                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/cheapest_flights_within_k_stops/solution.py)                                  |
| 791  | [Custom Sort String](/problems/custom-sort-string)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/custom_sort_string/solution.py)                                               |
| 799  | [Champagne Tower](/problems/champagne-tower)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/champagne_tower/solution.py)                                                  |
| 802  | [Find Eventual Safe States](/problems/find-eventual-safe-states)                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_eventual_safe_states/solution.py)                                        |
| 805  | [Split Array With Same Average](/problems/split-array-with-same-average)                                                                       | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/split_array_with_same_average/solution.py)                                    |
| 815  | [Bus Routes](/problems/bus-routes)                                                                                                             | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/bus_routes/solution.py)                                                       |
| 827  | [Making A Large Island](/problems/making-a-large-island)                                                                                       | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/making_a_large_island/solution.py)                                            |
| 837  | [New 21 Game](/problems/new-21-game)                                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/new_21_game/solution.py)                                                      |
| 838  | [Push Dominoes](/problems/push-dominoes)                                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/push_dominoes/solution.py)                                                    |
| 840  | [Magic Squares In Grid](/problems/magic-squares-in-grid)                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/magic_squares_in_grid/solution.py)                                            |
| 844  | [Backspace String Compare](/problems/backspace-string-compare)                                                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/backspace_string_compare/solution.py)                                         |
| 846  | [Hand of Straights](/problems/hand-of-straights)                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/hand_of_straights/solution.py)                                                |
| 853  | [Car Fleet](/problems/car-fleet)                                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/car_fleet/solution.py)                                                        |
| 857  | [Minimum Cost to Hire K Workers](/problems/minimum-cost-to-hire-k-workers)                                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_cost_to_hire_k_workers/solution.py)                                   |
| 860  | [Lemonade Change](/problems/lemonade-change)                                                                                                   | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/lemonade_change/solution.py)                                                  |
| 861  | [Score After Flipping Matrix](/problems/score-after-flipping-matrix)                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/score_after_flipping_matrix/solution.py)                                      |
| 862  | [Shortest Subarray with Sum at Least K](/problems/shortest-subarray-with-sum-at-least-k)                                                       | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/shortest_subarray_with_sum_at_least_k/solution.py)                            |
| 867  | [Transpose Matrix](/problems/transpose-matrix)                                                                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/transpose_matrix/solution.py)                                                 |
| 872  | [Leaf-Similar Trees](/problems/leaf-similar-trees)                                                                                             | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/leaf_similar_trees/solution.py)                                               |
| 873  | [Length of Longest Fibonacci Subsequence](/problems/length-of-longest-fibonacci-subsequence)                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/length_of_longest_fibonacci_subsequence/solution.py)                          |
| 874  | [Walking Robot Simulation](/problems/walking-robot-simulation)                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/walking_robot_simulation/solution.py)                                         |
| 875  | [Koko Eating Bananas](/problems/koko-eating-bananas)                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/koko_eating_bananas/solution.py)                                              |
| 876  | [Middle of the Linked List](/problems/middle-of-the-linked-list)                                                                               | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/middle_of_the_linked_list/solution.py)                                        |
| 877  | [Stone Game](/problems/stone-game)                                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/stone_game/solution.py)                                                       |
| 879  | [Profitable Schemes](/problems/profitable-schemes)                                                                                             | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/profitable_schemes/solution.py)                                               |
| 881  | [Boats to Save People](/problems/boats-to-save-people)                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/boats_to_save_people/solution.py)                                             |
| 884  | [Uncommon Words from Two Sentences](/problems/uncommon-words-from-two-sentences)                                                               | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/uncommon_words_from_two_sentences/solution.py)                                |
| 885  | [Spiral Matrix III](/problems/spiral-matrix-iii)                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/spiral_matrix_iii/solution.py)                                                |
| 889  | [Construct Binary Tree from Preorder and Postorder Traversal](/problems/construct-binary-tree-from-preorder-and-postorder-traversal)           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/construct_binary_tree_from_preorder_and_postorder_traversal/solution.py)      |
| 894  | [All Possible Full Binary Trees](/problems/all-possible-full-binary-trees)                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/all_possible_full_binary_trees/solution.py)                                   |
| 895  | [Maximum Frequency Stack](/problems/maximum-frequency-stack)                                                                                   | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_frequency_stack/solution.py)                                          |
| 896  | [Monotonic Array](/problems/monotonic-array)                                                                                                   | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/monotonic_array/solution.py)                                                  |
| 901  | [Online Stock Span](/problems/online-stock-span)                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/online_stock_span/solution.py)                                                |
| 904  | [Fruit Into Baskets](/problems/fruit-into-basket)                                                                                              | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/fruit_into_basket/solution.py)                                                |
| 905  | [Sort Array By Parity](/problems/sort-array-by-parity)                                                                                         | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/sort_array_by_parity/solution.py)                                             |
| 907  | [Sum of Subarray Minimums](/problems/sum-of-subarray-minimums)                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/sum_of_subarray_minimums/solution.py)                                         |
| 909  | [Snakes and Ladders](/problems/snakes-and-ladders)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/snakes_and_ladders/solution.py)                                               |
| 912  | [Sort an Array](/problems/sort-an-array)                                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/sort_an_array/solution.py)                                                    |
| 916  | [Word Subsets](/problems/word-subsets)                                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/word_subsets/solution.py)                                                     |
| 918  | [Maximum Sum Circular Subarray](/problems/maximum-sum-circular-subarray)                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_sum_circular_subarray/solution.py)                                    |
| 920  | [Number of Music Playlists](/problems/number-of-music-playlists)                                                                               | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/number_of_music_playlists/solution.py)                                        |
| 921  | [Minimum Add to Make Parentheses Valid](/problems/minimum-add-to-make-parentheses-valid)                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_add_to_make_parentheses_valid/solution.py)                            |
| 926  | [Flip String to Monotone Increasing](/problems/flip-string-to-monotone-increasing)                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/flip_string_to_monotone_increasing/solution.py)                               |
| 929  | [Unique Email Addresses](/problems/unique-email-addresses)                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/unique_email_addresses/solution.py)                                           |
| 930  | [Binary Subarrays With Sum](/problems/binary-subarrays-with-sum)                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/binary_subarrays_with_sum/solution.py)                                        |
| 931  | [Minimum Falling Path Sum](/problems/minimum-falling-path-sum)                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_falling_path_sum/solution.py)                                         |
| 934  | [Shortest Bridge](/problems/shortest-bridge)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/shortest_bridge/solution.py)                                                  |
| 935  | [Knight Dialer](/problems/knight-dialer)                                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/knight_dialer/solution.py)                                                    |
| 938  | [Range Sum of BST](/problems/range-sum-of-bst)                                                                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/range_sum_of_bst/solution.py)                                                 |
| 945  | [Minimum Increment to Make Array Unique](/problems/minimum-increment-to-make-array-unique)                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_increment_to_make_array_unique/solution.py)                           |
| 946  | [Validate Stack Sequences](/problems/validate-stack-sequences)                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/validate_stack_sequences/solution.py)                                         |
| 948  | [Bag of Tokens](/problems/bag-of-tokens)                                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/bag_of_tokens/solution.py)                                                    |
| 950  | [Reveal Cards In Increasing Order](/problems/reveal-cards-in-increasing-order)                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/reveal_cards_in_increasing_order/solution.py)                                 |
| 951  | [Flip Equivalent Binary Trees](/problems/flip-equivalent-binary-trees)                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/flip_equivalent_binary_trees/solution.py)                                     |
| 953  | [Verifying an Alien Dictionary](/problems/verifying-an-alien-dictionary)                                                                       | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/verifying_an_alien_dictionary/solution.py)                                    |
| 958  | [Check Completeness of a Binary Tree](/problems/check-completeness-of-a-binary-tree)                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/check_completeness_of_a_binary_tree/solution.py)                              |
| 959  | [Regions Cut By Slashes](/problems/regions-cut-by-slashes)                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/regions_cut_by_slashes/solution.py)                                           |
| 962  | [Maximum Width Ramp](/problems/maximum-width-ramp)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_width_ramp/solution.py)                                               |
| 973  | [K Closest Points to Origin](/problems/k-closest-points-to-origin)                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/k_closest_points_to_origin/solution.py)                                       |
| 974  | [Subarray Sums Divisible by K](/problems/subarray-sums-divisible-by-k)                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/subarray_sums_divisible_by_k/solution.py)                                     |
| 977  | [Squares of a Sorted Array](/problems/squares-of-a-sorted-array)                                                                               | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/squares_of_a_sorted_array/solution.py)                                        |
| 978  | [Longest Turbulent Subarray](/problems/longest-turbulent-subarray)                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_turbulent_subarray/solution.py)                                       |
| 979  | [Distribute Coins in Binary Tree](/problems/distribute-coins-in-binary-tree)                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/distribute_coins_in_binary_tree/solution.py)                                  |
| 981  | [Time Based Key-Value Store](/problems/time-based-key-value-store)                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/time_based_key_value_store/solution.py)                                       |
| 983  | [Minimum Cost For Tickets](/problems/minimum-cost-for-tickets)                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_cost_for_tickets/solution.py)                                         |
| 986  | [Interval List Intersections](/problems/interval-list-intersections)                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/interval_list_intersections/solution.py)                                      |
| 988  | [Smallest String Starting From Leaf](/problems/smallest-string-starting-from-leaf)                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/smallest_string_starting_from_leaf/solution.py)                               |
| 989  | [Add to Array-Form of Integer](/problems/add-to-array-form-of-integer)                                                                         | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/add_to_array_form_of_integer/solution.py)                                     |
| 992  | [Subarrays with K Different Integers](/problems/subarrays-with-k-different-integers)                                                           | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/subarrays_with_k_different_integers/solution.py)                              |
| 994  | [Rotting Oranges](/problems/rotting-oranges)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/rotting_oranges/solution.py)                                                  |
| 995  | [Minimum Number of K Consecutive Bit Flips](/problems/minimum-number-of-k-consecutive-bit-flips)                                               | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_number_of_k_consecutive_bit_flips/solution.py)                        |
| 997  | [Find the Town Judge](/problems/find-the-town-judge)                                                                                           | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_the_town_judge/solution.py)                                              |
| 1002 | [Find Common Characters](/problems/find-common-characters)                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_common_characters/solution.py)                                           |
| 1004 | [Max Consecutive Ones III](/problems/max-consecutive-ones-iii)                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/max_consecutive_ones_iii/solution.py)                                         |
| 1011 | [Capacity To Ship Packages Within D Days](/problems/capacity-to-ship-packages-within-d-days)                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/capacity_to_ship_packages_within_d_days/solution.py)                          |
| 1014 | [Best Sightseeing Pair](/problems/best-sightseeing-pair)                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/best_sightseeing_pair/solution.py)                                            |
| 1020 | [Number of Enclaves](/problems/number-of-enclaves)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/number_of_enclaves/solution.py)                                               |
| 1028 | [Recover a Tree From Preorder Traversal](/problems/recover-a-tree-from-preorder-traversal)                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/recover_a_tree_from_preorder_traversal/solution.py)                           |
| 1029 | [Two City Scheduling](/problems/two-city-scheduling)                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/two_city_scheduling/solution.py)                                              |
| 1035 | [Uncrossed Lines](/problems/uncrossed-lines)                                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/uncrossed_lines/solution.py)                                                  |
| 1041 | [Robot Bounded In Circle](/problems/robot-bounded-in-circle)                                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/robot_bounded_in_circle/solution.py)                                          |
| 1043 | [Partition Array for Maximum Sum](/problems/partition-array-for-maximum-sum)                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/partition_array_for_maximum_sum/solution.py)                                  |
| 1046 | [Last Stone Weight](/problems/last-stone-weight)                                                                                               | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/last_stone_weight/solution.py)                                                |
| 1048 | [Longest String Chain](/problems/longest-string-chain)                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_string_chain/solution.py)                                             |
| 1049 | [Last Stone Weight II](/problems/last-stone-weight-ii)                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/last_stone_weight_ii/solution.py)                                             |
| 1051 | [Height Checker](/problems/height-checker)                                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/height_checker/solution.py)                                                   |
| 1052 | [Grumpy Bookstore Owner](/problems/grumpy-bookstore-owner)                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/grumpy_bookstore_owner/solution.py)                                           |
| 1071 | [Greatest Common Divisor of Strings](/problems/gcd-of-strings)                                                                                 | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/gcd_of_strings/solution.py)                                                   |
| 1072 | [Flip Columns For Maximum Number of Equal Rows](/problems/flip-columns-for-maximum-number-of-equal-rows)                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/flip_columns_for_maximum_number_of_equal_rows/solution.py)                    |
| 1074 | [Number of Submatrices That Sum to Target](/problems/number-of-submatrices-that-sum-to-target)                                                 | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/number_of_submatrices_that_sum_to_target/solution.py)                         |
| 1079 | [Letter Tile Possibilities](/problems/letter-tile-possibilities)                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/letter_tile_possibilities/solution.py)                                        |
| 1091 | [Shortest Path in Binary Matrix](/problems/shortest-path-in-binary-matrix)                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/shortest_path_in_binary_matrix/solution.py)                                   |
| 1092 | [Shortest Common Supersequence](/problems/shortest-common-supersequence)                                                                       | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/shortest_common_supersequence/solution.py)                                    |
| 1094 | [Car Pooling](/problems/car-pooling)                                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/car_pooling/solution.py)                                                      |
| 1095 | [Find in Mountain Array](/problems/find-in-mountain-array)                                                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_in_mountain_array/solution.py)                                           |
| 1105 | [Filling Bookcase Shelves](/problems/filling-bookcase-shelves)                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/filling_bookcase_shelves/solution.py)                                         |
| 1106 | [Parsing A Boolean Expression](/problems/parsing-a-boolean-expression)                                                                         | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/parsing_a_boolean_expression/solution.py)                                     |
| 1110 | [Delete Nodes And Return Forest](/problems/delete-nodes-and-return-forest)                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/delete_nodes_and_return_forest/solution.py)                                   |
| 1122 | [Relative Sort Array](/problems/relative-sort-array)                                                                                           | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/relative_sort_array/solution.py)                                              |
| 1129 | [Shortest Path with Alternating Colors](/problems/shortest-path-with-alternating-colors)                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/shortest_path_with_alternating_colors/solution.py)                            |
| 1137 | [N-th Tribonacci Number](/problems/n-th-tribonacci-number)                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/n_th_tribonacci_number/solution.py)                                           |
| 1140 | [Stone Game II](/problems/stone-game-ii)                                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/stone_game_ii/solution.py)                                                    |
| 1143 | [Longest Common Subsequence](/problems/longest-common-subsequence)                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_common_subsequence/solution.py)                                       |
| 1197 | [Minimum Knight Moves](/problems/minimum-knight-moves)                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_knight_moves/solution.py)                                             |
| 1235 | [Maximum Profit in Job Scheduling](/problems/maximum-profit-in-job-scheduling)                                                                 | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_profit_in_job_scheduling/solution.py)                                 |
| 1325 | [Delete Leaves With a Given Value](/problems/delete-leaves-with-a-given-value)                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/delete_leaves_with_a_given_value/solution.py)                                 |
| 1405 | [Longest Happy String](/problems/longest-happy-string)                                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_happy_string/solution.py)                                             |
| 1406 | [Stone Game III](/problems/stone-game-iii)                                                                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/stone_game_iii/solution.py)                                                   |
| 1448 | [Count Good Nodes in Binary Tree](/problems/count-good-nodes-in-binary-tree)                                                                   | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/count_good_nodes_in_binary_tree/solution.py)                                  |
| 1462 | [Course Schedule IV](/problems/course-schedule-iv)                                                                                             | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/course_schedule_iv/solution.py)                                               |
| 1489 | [Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree](/problems/find-critical-and-pseudo-critical-edges-in-minimum-spanning-tree) | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_critical_and_pseudo_critical_edges_in_minimum_spanning_tree/solution.py) |
| 1584 | [Min Cost to Connect All Points](/problems/min-cost-to-connect-all-points)                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/min_cost_to_connect_all_points/solution.py)                                   |
| 1631 | [Path With Minimum Effort](/problems/path-with-minimum-effort)                                                                                 | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/path_with_minimum_effort/solution.py)                                         |
| 1768 | [Merge Strings Alternately](/problems/merge-strings-alternately)                                                                               | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/merge_strings_alternately/solution.py)                                        |
| 1834 | [Single-Threaded CPU](/problems/single-threaded-cpu)                                                                                           | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/single_threaded_cpu/solution.py)                                              |
| 1851 | [Minimum Interval to Include Each Query](/problems/minimum-interval-to-include-each-query)                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_interval_to_include_each_query/solution.py)                           |
| 1863 | [Sum of All Subset XOR Totals](/problems/sum-of-all-subset-xor-totals)                                                                         | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/sum_of_all_subset_xor_totals/solution.py)                                     |
| 1871 | [Jump Game VII](/problems/jump-game-vii)                                                                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/jump_game_vii/solution.py)                                                    |
| 1899 | [Merge Triplets to Form Target Triplet](/problems/merge-triplets-to-form-target-triplet)                                                       | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/merge_triplets_to_form_target_triplet/solution.py)                            |
| 1929 | [Concatenation of Array](/problems/concatenation-of-array)                                                                                     | Easy       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/concatenation_of_array/solution.py)                                           |
| 2013 | [Detect Squares](/problems/detect-squares)                                                                                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/detect_squares/solution.py)                                                   |
| 2392 | [Build a Matrix With Conditions](/problems/build-a-matrix-with-conditions)                                                                     | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/build_a_matrix_with_conditions/solution.py)                                   |
| 2402 | [Meeting Rooms III](/problems/meeting-rooms-iii)                                                                                               | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/meeting_rooms_iii/solution.py)                                                |
| 2707 | [Extra Characters in a String](/problems/extra-characters-in-a-string)                                                                         | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/extra_characters_in_a_string/solution.py)                                     |
| 2709 | [Greatest Common Divisor Traversal](/problems/greatest-common-divisor-traversal)                                                               | Hard       | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/greatest_common_divisor_traversal/solution.py)                                |
| 2807 | [Insert Greatest Common Divisors in Linked List](/problems/insert-greatest-common-divisors-in-linked-list)                                     | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/insert_greatest_common_divisors_in_linked_list/solution.py)                   |
| 3133 | [Minimum Array End](/problems/minimum-array-end)                                                                                               | Medium     | [solution.py](https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_array_end/solution.py)                                                |
