{"id":22225235,"url":"https://github.com/trilliwon/leetcode","last_synced_at":"2025-07-26T19:07:37.069Z","repository":{"id":66352959,"uuid":"287961112","full_name":"trilliwon/LeetCode","owner":"trilliwon","description":"🚧 [WIP] LeetCode solutions, mostly in Python","archived":false,"fork":false,"pushed_at":"2021-02-22T15:10:18.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-21T21:24:05.875Z","etag":null,"topics":["interview","problem-solving","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trilliwon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-16T14:36:02.000Z","updated_at":"2021-03-05T14:18:47.000Z","dependencies_parsed_at":"2024-02-24T18:30:48.501Z","dependency_job_id":null,"html_url":"https://github.com/trilliwon/LeetCode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trilliwon/LeetCode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trilliwon%2FLeetCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trilliwon%2FLeetCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trilliwon%2FLeetCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trilliwon%2FLeetCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trilliwon","download_url":"https://codeload.github.com/trilliwon/LeetCode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trilliwon%2FLeetCode/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267213475,"owners_count":24053912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["interview","problem-solving","python"],"created_at":"2024-12-03T00:16:15.834Z","updated_at":"2025-07-26T19:07:36.985Z","avatar_url":"https://github.com/trilliwon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My codes for LeetCode\n- [EASY](#easy)\n- [MEDIUM](#medium)\n- [HARD](#hard)\n\n---\n\n## EASY\n- [ADD-DIGITS](https://leetcode.com/problems/add-digits)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/add-digits.py)]**\n- [ADD-TO-ARRAY-FORM-OF-INTEGER](https://leetcode.com/problems/add-to-array-form-of-integer)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/add-to-array-form-of-integer.py)]**\n- [ARRANGING-COINS](https://leetcode.com/problems/arranging-coins)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/arranging-coins.py)]**\n- [ASSIGN-COOKIES](https://leetcode.com/problems/assign-cookies)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/assign-cookies.py)]**\n- [AVERAGE-OF-LEVELS-IN-BINARY-TREE](https://leetcode.com/problems/average-of-levels-in-binary-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/average-of-levels-in-binary-tree.py)]**\n- [BACKSPACE-STRING-COMPARE](https://leetcode.com/problems/backspace-string-compare)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/backspace-string-compare.py)]**\n- [BALANCED-BINARY-TREE](https://leetcode.com/problems/balanced-binary-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/balanced-binary-tree.py)]**\n- [BASE-7](https://leetcode.com/problems/base-7)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/base-7.py)]**\n- [BINARY-GAP](https://leetcode.com/problems/binary-gap)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/binary-gap.py)]**\n- [BINARY-SEARCH](https://leetcode.com/problems/binary-search)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/binary-search.py)]**\n- [BINARY-TREE-LEVEL-ORDER-TRAVERSAL-II](https://leetcode.com/problems/binary-tree-level-order-traversal-ii)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/binary-tree-level-order-traversal-ii.py)]**\n- [BINARY-TREE-PATHS](https://leetcode.com/problems/binary-tree-paths)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/binary-tree-paths.py)]**\n- [BINARY-WATCH](https://leetcode.com/problems/binary-watch)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/binary-watch.py)]**\n- [BUDDY-STRINGS](https://leetcode.com/problems/buddy-strings)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/buddy-strings.py)]**\n- [BUDDY-STRINGS](https://leetcode.com/problems/buddy-strings)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/easy/buddy-strings.swift)]**\n- [CAN-PLACE-FLOWERS](https://leetcode.com/problems/can-place-flowers)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/can-place-flowers.py)]**\n- [CONSTRUCT-QUAD-TREE](https://leetcode.com/problems/construct-quad-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/construct-quad-tree.py)]**\n- [CONSTRUCT-STRING-FROM-BINARY-TREE](https://leetcode.com/problems/construct-string-from-binary-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/construct-string-from-binary-tree.py)]**\n- [CONVERT-A-NUMBER-TO-HEXADECIMAL](https://leetcode.com/problems/convert-a-number-to-hexadecimal)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/convert-a-number-to-hexadecimal.py)]**\n- [CONVERT-BST-TO-GREATER-TREE](https://leetcode.com/problems/convert-bst-to-greater-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/convert-bst-to-greater-tree.py)]**\n- [CONVERT-SORTED-ARRAY-TO-BINARY-SEARCH-TREE](https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/convert-sorted-array-to-binary-search-tree.py)]**\n- [CONVERT-SORTED-LIST-TO-BINARY-SEARCH-TREE](https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/convert-sorted-list-to-binary-search-tree.py)]**\n- [COUNT-BINARY-SUBSTRINGS](https://leetcode.com/problems/count-binary-substrings)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/count-binary-substrings.py)]**\n- [COUNT-PRIMES](https://leetcode.com/problems/count-primes)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/count-primes.py)]**\n- [COUSINS-IN-BINARY-TREE](https://leetcode.com/problems/cousins-in-binary-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/cousins-in-binary-tree.py)]**\n- [DEGREE-OF-AN-ARRAY](https://leetcode.com/problems/degree-of-an-array)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/degree-of-an-array.py)]**\n- [DESIGN-LINKED-LIST](https://leetcode.com/problems/design-linked-list)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/design-linked-list.py)]**\n- [DIAMETER-OF-BINARY-TREE](https://leetcode.com/problems/diameter-of-binary-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/diameter-of-binary-tree.py)]**\n- [DISTRIBUTE-CANDIES](https://leetcode.com/problems/distribute-candies)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/distribute-candies.py)]**\n- [DIVISOR-GAME](https://leetcode.com/problems/divisor-game)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/divisor-game.py)]**\n- [EMPLOYEE-IMPORTANCE](https://leetcode.com/problems/employee-importance)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/employee-importance.py)]**\n- [EXCEL-SHEET-COLUMN-NUMBER](https://leetcode.com/problems/excel-sheet-column-number)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/excel-sheet-column-number.py)]**\n- [EXCEL-SHEET-COLUMN-TITLE](https://leetcode.com/problems/excel-sheet-column-title)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/excel-sheet-column-title.py)]**\n- [FACTORIAL-TRAILING-ZEROES](https://leetcode.com/problems/factorial-trailing-zeroes)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/factorial-trailing-zeroes.py)]**\n- [FIND-ALL-ANAGRAMS-IN-A-STRING](https://leetcode.com/problems/find-all-anagrams-in-a-string)   **[[.cpp](https://github.com/trilliwon/LeetCode/blob/master/easy/find-all-anagrams-in-a-string.cpp)]**\n- [FIND-ALL-ANAGRAMS-IN-A-STRING](https://leetcode.com/problems/find-all-anagrams-in-a-string)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/find-all-anagrams-in-a-string.py)]**\n- [FIND-ALL-NUMBERS-DISAPPEARED-IN-AN-ARRAY](https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/find-all-numbers-disappeared-in-an-array.py)]**\n- [FIND-MODE-IN-BINARY-SEARCH-TREE](https://leetcode.com/problems/find-mode-in-binary-search-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/find-mode-in-binary-search-tree.py)]**\n- [FIND-PIVOT-INDEX](https://leetcode.com/problems/find-pivot-index)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/find-pivot-index.py)]**\n- [FIND-THE-DIFFERENCE](https://leetcode.com/problems/find-the-difference)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/find-the-difference.py)]**\n- [FIRST-BAD-VERSION](https://leetcode.com/problems/first-bad-version)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/first-bad-version.py)]**\n- [FIRST-UNIQUE-CHARACTER-IN-A-STRING](https://leetcode.com/problems/first-unique-character-in-a-string)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/first-unique-character-in-a-string.py)]**\n- [FIZZ-BUZZ](https://leetcode.com/problems/fizz-buzz)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/fizz-buzz.py)]**\n- [GOAT-LATIN](https://leetcode.com/problems/goat-latin)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/goat-latin.py)]**\n- [GROUPS-OF-SPECIAL-EQUIVALENT-STRINGS](https://leetcode.com/problems/groups-of-special-equivalent-strings)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/groups-of-special-equivalent-strings.py)]**\n- [GUESS-NUMBER-HIGHER-OR-LOWER](https://leetcode.com/problems/guess-number-higher-or-lower)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/guess-number-higher-or-lower.py)]**\n- [HAMMING-DISTANCE](https://leetcode.com/problems/hamming-distance)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/hamming-distance.py)]**\n- [HAPPY-NUMBER](https://leetcode.com/problems/happy-number)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/happy-number.py)]**\n- [HEATERS](https://leetcode.com/problems/heaters)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/heaters.py)]**\n- [HOUSE-ROBBER](https://leetcode.com/problems/house-robber)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/house-robber.py)]**\n- [IMAGE-SMOOTHER](https://leetcode.com/problems/image-smoother)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/image-smoother.py)]**\n- [IMPLEMENT-QUEUE-USING-STACKS](https://leetcode.com/problems/implement-queue-using-stacks)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/implement-queue-using-stacks.py)]**\n- [IMPLEMENT-STACK-USING-QUEUES](https://leetcode.com/problems/implement-stack-using-queues)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/implement-stack-using-queues.py)]**\n- [INCREASING-ORDER-SEARCH-TREE](https://leetcode.com/problems/increasing-order-search-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/increasing-order-search-tree.py)]**\n- [INVERT-BINARY-TREE](https://leetcode.com/problems/invert-binary-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/invert-binary-tree.py)]**\n- [IS-SUBSEQUENCE](https://leetcode.com/problems/is-subsequence)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/is-subsequence.py)]**\n- [ISLAND-PERIMETER](https://leetcode.com/problems/island-perimeter)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/island-perimeter.py)]**\n- [ISOMORPHIC-STRINGS](https://leetcode.com/problems/isomorphic-strings)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/isomorphic-strings.py)]**\n- [K-DIFF-PAIRS-IN-AN-ARRAY](https://leetcode.com/problems/k-diff-pairs-in-an-array)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/k-diff-pairs-in-an-array.py)]**\n- [KEYBOARD-ROW](https://leetcode.com/problems/keyboard-row)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/keyboard-row.py)]**\n- [LARGEST-NUMBER-AT-LEAST-TWICE-OF-OTHERS](https://leetcode.com/problems/largest-number-at-least-twice-of-others)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/largest-number-at-least-twice-of-others.py)]**\n- [LEAF-SIMILAR-TREES](https://leetcode.com/problems/leaf-similar-trees)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/leaf-similar-trees.py)]**\n- [LEMONADE-CHANGE](https://leetcode.com/problems/lemonade-change)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/lemonade-change.py)]**\n- [LETTER-CASE-PERMUTATION](https://leetcode.com/problems/letter-case-permutation)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/letter-case-permutation.py)]**\n- [LICENSE-KEY-FORMATTING](https://leetcode.com/problems/license-key-formatting)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/license-key-formatting.py)]**\n- [LONGEST-COMMON-PREFIX](https://leetcode.com/problems/longest-common-prefix)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/longest-common-prefix.py)]**\n- [LONGEST-CONTINUOUS-INCREASING-SUBSEQUENCE](https://leetcode.com/problems/longest-continuous-increasing-subsequence)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/longest-continuous-increasing-subsequence.py)]**\n- [LONGEST-HARMONIOUS-SUBSEQUENCE](https://leetcode.com/problems/longest-harmonious-subsequence)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/easy/longest-harmonious-subsequence.swift)]**\n- [LONGEST-PALINDROME](https://leetcode.com/problems/longest-palindrome)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/longest-palindrome.py)]**\n- [LONGEST-WORD-IN-DICTIONARY](https://leetcode.com/problems/longest-word-in-dictionary)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/longest-word-in-dictionary.py)]**\n- [LOWEST-COMMON-ANCESTOR-OF-A-BINARY-SEARCH-TREE](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/lowest-common-ancestor-of-a-binary-search-tree.py)]**\n- [MAGIC-SQUARES-IN-GRID](https://leetcode.com/problems/magic-squares-in-grid)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/magic-squares-in-grid.py)]**\n- [MAX-AREA-OF-ISLAND](https://leetcode.com/problems/max-area-of-island)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/max-area-of-island.py)]**\n- [MAXIMIZE-DISTANCE-TO-CLOSEST-PERSON](https://leetcode.com/problems/maximize-distance-to-closest-person)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/maximize-distance-to-closest-person.py)]**\n- [MAXIMUM-AVERAGE-SUBARRAY-I](https://leetcode.com/problems/maximum-average-subarray-i)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/maximum-average-subarray-i.py)]**\n- [MAXIMUM-DEPTH-OF-N-ARY-TREE](https://leetcode.com/problems/maximum-depth-of-n-ary-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/maximum-depth-of-n-ary-tree.py)]**\n- [MAXIMUM-SUBARRAY](https://leetcode.com/problems/maximum-subarray)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/maximum-subarray.py)]**\n- [MERGE-TWO-BINARY-TREES](https://leetcode.com/problems/merge-two-binary-trees)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/merge-two-binary-trees.py)]**\n- [MIDDLE-OF-THE-LINKED-LIST](https://leetcode.com/problems/middle-of-the-linked-list)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/middle-of-the-linked-list.py)]**\n- [MIN-COST-CLIMBING-STAIRS](https://leetcode.com/problems/min-cost-climbing-stairs)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/min-cost-climbing-stairs.py)]**\n- [MINIMUM-ABSOLUTE-DIFFERENCE-IN-BST](https://leetcode.com/problems/minimum-absolute-difference-in-bst)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/minimum-absolute-difference-in-bst.py)]**\n- [MINIMUM-DEPTH-OF-BINARY-TREE](https://leetcode.com/problems/minimum-depth-of-binary-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/minimum-depth-of-binary-tree.py)]**\n- [MINIMUM-DISTANCE-BETWEEN-BST-NODES](https://leetcode.com/problems/minimum-distance-between-bst-nodes)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/minimum-distance-between-bst-nodes.py)]**\n- [MINIMUM-INDEX-SUM-OF-TWO-LISTS](https://leetcode.com/problems/minimum-index-sum-of-two-lists)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/minimum-index-sum-of-two-lists.py)]**\n- [MINIMUM-MOVES-TO-EQUAL-ARRAY-ELEMENTS](https://leetcode.com/problems/minimum-moves-to-equal-array-elements)   **[[.cpp](https://github.com/trilliwon/LeetCode/blob/master/easy/minimum-moves-to-equal-array-elements.cpp)]**\n- [N-ARY-TREE-LEVEL-ORDER-TRAVERSAL](https://leetcode.com/problems/n-ary-tree-level-order-traversal)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/n-ary-tree-level-order-traversal.py)]**\n- [N-ARY-TREE-POSTORDER-TRAVERSAL](https://leetcode.com/problems/n-ary-tree-postorder-traversal)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/n-ary-tree-postorder-traversal.py)]**\n- [N-ARY-TREE-PREORDER-TRAVERSAL](https://leetcode.com/problems/n-ary-tree-preorder-traversal)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/n-ary-tree-preorder-traversal.py)]**\n- [NEXT-GREATER-ELEMENT-I](https://leetcode.com/problems/next-greater-element-i)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/next-greater-element-i.py)]**\n- [NIM-GAME](https://leetcode.com/problems/nim-game)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/nim-game.py)]**\n- [NON-DECREASING-ARRAY](https://leetcode.com/problems/non-decreasing-array)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/non-decreasing-array.py)]**\n- [NTH-DIGIT](https://leetcode.com/problems/nth-digit)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/nth-digit.py)]**\n- [NUMBER-OF-1-BITS](https://leetcode.com/problems/number-of-1-bits)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/number-of-1-bits.py)]**\n- [NUMBER-OF-BOOMERANGS](https://leetcode.com/problems/number-of-boomerangs)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/number-of-boomerangs.py)]**\n- [NUMBER-OF-LINES-TO-WRITE-STRING](https://leetcode.com/problems/number-of-lines-to-write-string)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/easy/number-of-lines-to-write-string.swift)]**\n- [NUMBER-OF-SEGMENTS-IN-A-STRING](https://leetcode.com/problems/number-of-segments-in-a-string)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/number-of-segments-in-a-string.py)]**\n- [PALINDROME-NUMBER](https://leetcode.com/problems/palindrome-number)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/easy/palindrome-number.swift)]**\n- [PATH-SUM-III](https://leetcode.com/problems/path-sum-iii)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/path-sum-iii.py)]**\n- [PEAK-INDEX-IN-A-MOUNTAIN-ARRAY](https://leetcode.com/problems/peak-index-in-a-mountain-array)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/peak-index-in-a-mountain-array.py)]**\n- [POSITIONS-OF-LARGE-GROUPS](https://leetcode.com/problems/positions-of-large-groups)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/positions-of-large-groups.py)]**\n- [POWER-OF-FOUR](https://leetcode.com/problems/power-of-four)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/power-of-four.py)]**\n- [POWER-OF-THREE](https://leetcode.com/problems/power-of-three)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/power-of-three.py)]**\n- [POWER-OF-TWO](https://leetcode.com/problems/power-of-two)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/power-of-two.py)]**\n- [RANGE-SUM-QUERY-IMMUTABLE](https://leetcode.com/problems/range-sum-query-immutable)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/range-sum-query-immutable.py)]**\n- [RANSOM-NOTE](https://leetcode.com/problems/ransom-note)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/ransom-note.py)]**\n- [RECTANGLE-OVERLAP](https://leetcode.com/problems/rectangle-overlap)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/rectangle-overlap.py)]**\n- [RELATIVE-RANKS](https://leetcode.com/problems/relative-ranks)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/relative-ranks.py)]**\n- [REORDER-LOG-FILES](https://leetcode.com/problems/reorder-log-files)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/reorder-log-files.py)]**\n- [RESHAPE-THE-MATRIX](https://leetcode.com/problems/reshape-the-matrix)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/reshape-the-matrix.py)]**\n- [REVERSE-INTEGER](https://leetcode.com/problems/reverse-integer)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/easy/reverse-integer.swift)]**\n- [REVERSE-ONLY-LETTERS](https://leetcode.com/problems/reverse-only-letters)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/easy/reverse-only-letters.swift)]**\n- [REVERSE-STRING-II](https://leetcode.com/problems/reverse-string-ii)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/reverse-string-ii.py)]**\n- [REVERSE-VOWELS-OF-A-STRING](https://leetcode.com/problems/reverse-vowels-of-a-string)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/reverse-vowels-of-a-string.py)]**\n- [ROMAN-TO-INTEGER](https://leetcode.com/problems/roman-to-integer)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/roman-to-integer.py)]**\n- [ROTATE-ARRAY](https://leetcode.com/problems/rotate-array)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/rotate-array.py)]**\n- [ROTATE-STRING](https://leetcode.com/problems/rotate-string)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/rotate-string.py)]**\n- [ROTATED-DIGITS](https://leetcode.com/problems/rotated-digits)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/rotated-digits.py)]**\n- [ROTTING-ORANGES](https://leetcode.com/problems/rotting-oranges)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/rotting-oranges.py)]**\n- [SEARCH-IN-A-BINARY-SEARCH-TREE](https://leetcode.com/problems/search-in-a-binary-search-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/search-in-a-binary-search-tree.py)]**\n- [SECOND-MINIMUM-NODE-IN-A-BINARY-TREE](https://leetcode.com/problems/second-minimum-node-in-a-binary-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/second-minimum-node-in-a-binary-tree.py)]**\n- [SELF-DIVIDING-NUMBERS](https://leetcode.com/problems/self-dividing-numbers)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/self-dividing-numbers.py)]**\n- [SHORTEST-DISTANCE-TO-A-CHARACTER](https://leetcode.com/problems/shortest-distance-to-a-character)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/shortest-distance-to-a-character.py)]**\n- [SMALLEST-RANGE-I](https://leetcode.com/problems/smallest-range-i)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/easy/smallest-range-i.swift)]**\n- [SORT-ARRAY-BY-PARITY-II](https://leetcode.com/problems/sort-array-by-parity-ii)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/easy/sort-array-by-parity-ii.swift)]**\n- [SORT-ARRAY-BY-PARITY](https://leetcode.com/problems/sort-array-by-parity)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/easy/sort-array-by-parity.swift)]**\n- [SUBTREE-OF-ANOTHER-TREE](https://leetcode.com/problems/subtree-of-another-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/subtree-of-another-tree.py)]**\n- [SUM-OF-LEFT-LEAVES](https://leetcode.com/problems/sum-of-left-leaves)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/sum-of-left-leaves.py)]**\n- [SUM-OF-SQUARE-NUMBERS](https://leetcode.com/problems/sum-of-square-numbers)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/sum-of-square-numbers.py)]**\n- [SYMMETRIC-TREE](https://leetcode.com/problems/symmetric-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/symmetric-tree.py)]**\n- [TOEPLITZ-MATRIX](https://leetcode.com/problems/toeplitz-matrix)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/toeplitz-matrix.py)]**\n- [TRANSPOSE-MATRIX](https://leetcode.com/problems/transpose-matrix)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/transpose-matrix.py)]**\n- [TRIM-A-BINARY-SEARCH-TREE](https://leetcode.com/problems/trim-a-binary-search-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/trim-a-binary-search-tree.py)]**\n- [TWO-CITY-SCHEDULING](https://leetcode.com/problems/two-city-scheduling)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/two-city-scheduling.py)]**\n- [TWO-SUM-IV-INPUT-IS-A-BST](https://leetcode.com/problems/two-sum-iv-input-is-a-bst)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/two-sum-iv-input-is-a-bst.py)]**\n- [UNCOMMON-WORDS-FROM-TWO-SENTENCES](https://leetcode.com/problems/uncommon-words-from-two-sentences)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/uncommon-words-from-two-sentences.py)]**\n- [UNIQUE-EMAIL-ADDRESSES](https://leetcode.com/problems/unique-email-addresses)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/unique-email-addresses.py)]**\n- [UNIQUE-MORSE-CODE-WORDS](https://leetcode.com/problems/unique-morse-code-words)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/easy/unique-morse-code-words.swift)]**\n- [VALID-PERFECT-SQUARE](https://leetcode.com/problems/valid-perfect-square)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/valid-perfect-square.py)]**\n- [WORD-PATTERN](https://leetcode.com/problems/word-pattern)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/easy/word-pattern.py)]**\n- [X-OF-A-KIND-IN-A-DECK-OF-CARDS](https://leetcode.com/problems/x-of-a-kind-in-a-deck-of-cards)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/easy/x-of-a-kind-in-a-deck-of-cards.swift)]**\n\n## MEDIUM\n- [ADD-TWO-NUMBERS-II](https://leetcode.com/problems/add-two-numbers-ii)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/add-two-numbers-ii.py)]**\n- [ADD-TWO-NUMBERS](https://leetcode.com/problems/add-two-numbers)   **[[.cpp](https://github.com/trilliwon/LeetCode/blob/master/medium/add-two-numbers.cpp)]**\n- [ADD-TWO-NUMBERS](https://leetcode.com/problems/add-two-numbers)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/add-two-numbers.py)]**\n- [AMBIGUOUS-COORDINATES](https://leetcode.com/problems/ambiguous-coordinates)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/ambiguous-coordinates.py)]**\n- [ARITHMETIC-SLICES](https://leetcode.com/problems/arithmetic-slices)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/arithmetic-slices.py)]**\n- [BINARY-TREE-INORDER-TRAVERSAL](https://leetcode.com/problems/binary-tree-inorder-traversal)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/binary-tree-inorder-traversal.py)]**\n- [BINARY-TREE-PREORDER-TRAVERSAL](https://leetcode.com/problems/binary-tree-preorder-traversal)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/binary-tree-preorder-traversal.py)]**\n- [BRICK-WALL](https://leetcode.com/problems/brick-wall)   **[[.cpp](https://github.com/trilliwon/LeetCode/blob/master/medium/brick-wall.cpp)]**\n- [COIN-CHANGE-2](https://leetcode.com/problems/coin-change-2)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/coin-change-2.py)]**\n- [COIN-CHANGE](https://leetcode.com/problems/coin-change)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/coin-change.py)]**\n- [COMBINATION-SUM-IV](https://leetcode.com/problems/combination-sum-iv)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/combination-sum-iv.py)]**\n- [CONSTRUCT-BINARY-SEARCH-TREE-FROM-PREORDER-TRAVERSAL](https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/construct-binary-search-tree-from-preorder-traversal.py)]**\n- [CONTAINER-WITH-MOST-WATER](https://leetcode.com/problems/container-with-most-water)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/medium/container-with-most-water.swift)]**\n- [CONTINUOUS-SUBARRAY-SUM](https://leetcode.com/problems/continuous-subarray-sum)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/continuous-subarray-sum.py)]**\n- [CONVERT-SORTED-LIST-TO-BINARY-SEARCH-TREE](https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/convert-sorted-list-to-binary-search-tree.py)]**\n- [COUNT-NUMBERS-WITH-UNIQUE-DIGITS](https://leetcode.com/problems/count-numbers-with-unique-digits)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/count-numbers-with-unique-digits.py)]**\n- [EXPRESSIVE-WORDS](https://leetcode.com/problems/expressive-words)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/expressive-words.py)]**\n- [FIND-ALL-DUPLICATES-IN-AN-ARRAY](https://leetcode.com/problems/find-all-duplicates-in-an-array)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/find-all-duplicates-in-an-array.py)]**\n- [FRUIT-INTO-BASKETS](https://leetcode.com/problems/fruit-into-baskets)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/medium/fruit-into-baskets.swift)]**\n- [GLOBAL-AND-LOCAL-INVERSIONS](https://leetcode.com/problems/global-and-local-inversions)   **[[.cpp](https://github.com/trilliwon/LeetCode/blob/master/medium/global-and-local-inversions.cpp)]**\n- [HOUSE-ROBBER-II](https://leetcode.com/problems/house-robber-ii)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/house-robber-ii.py)]**\n- [INTEGER-BREAK](https://leetcode.com/problems/integer-break)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/integer-break.py)]**\n- [KTH-LARGEST-ELEMENT-IN-AN-ARRAY](https://leetcode.com/problems/kth-largest-element-in-an-array)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/kth-largest-element-in-an-array.py)]**\n- [LARGEST-DIVISIBLE-SUBSET](https://leetcode.com/problems/largest-divisible-subset)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/largest-divisible-subset.py)]**\n- [LARGEST-TRIANGLE-AREA](https://leetcode.com/problems/largest-triangle-area)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/largest-triangle-area.py)]**\n- [LINKED-LIST-COMPONENTS](https://leetcode.com/problems/linked-list-components)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/linked-list-components.py)]**\n- [LONGEST-COMMON-SUBSEQUENCE](https://leetcode.com/problems/longest-common-subsequence)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/longest-common-subsequence.py)]**\n- [LONGEST-INCREASING-SUBSEQUENCE](https://leetcode.com/problems/longest-increasing-subsequence)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/longest-increasing-subsequence.py)]**\n- [LONGEST-SUBSTRING-WITHOUT-REPEATING-CHARACTERS](https://leetcode.com/problems/longest-substring-without-repeating-characters)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/medium/longest-substring-without-repeating-characters.swift)]**\n- [MAX-INCREASE-TO-KEEP-CITY-SKYLINE](https://leetcode.com/problems/max-increase-to-keep-city-skyline)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/max-increase-to-keep-city-skyline.py)]**\n- [MAX-INCREASE-TO-KEEP-CITY-SKYLINE](https://leetcode.com/problems/max-increase-to-keep-city-skyline)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/medium/max-increase-to-keep-city-skyline.swift)]**\n- [MAXIMAL-SQUARE_V1](https://leetcode.com/problems/maximal-square_v1)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/maximal-square_v1.py)]**\n- [MAXIMAL-SQUARE_V2](https://leetcode.com/problems/maximal-square_v2)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/maximal-square_v2.py)]**\n- [MAXIMUM-LENGTH-OF-PAIR-CHAIN](https://leetcode.com/problems/maximum-length-of-pair-chain)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/maximum-length-of-pair-chain.py)]**\n- [MAXIMUM-PRODUCT-SUBARRAY](https://leetcode.com/problems/maximum-product-subarray)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/maximum-product-subarray.py)]**\n- [MINIMUM-ADD-TO-MAKE-PARENTHESES-VALID](https://leetcode.com/problems/minimum-add-to-make-parentheses-valid)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/medium/minimum-add-to-make-parentheses-valid.swift)]**\n- [MINIMUM-PATH-SUM](https://leetcode.com/problems/minimum-path-sum)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/medium/minimum-path-sum.swift)]**\n- [MOST-COMMON-WORD](https://leetcode.com/problems/most-common-word)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/most-common-word.py)]**\n- [NUMBER-OF-LINES-TO-WRITE-STRING](https://leetcode.com/problems/number-of-lines-to-write-string)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/number-of-lines-to-write-string.py)]**\n- [ONES-AND-ZEROES](https://leetcode.com/problems/ones-and-zeroes)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/ones-and-zeroes.py)]**\n- [PARTITION-ARRAY-INTO-DISJOINT-INTERVALS](https://leetcode.com/problems/partition-array-into-disjoint-intervals)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/medium/partition-array-into-disjoint-intervals.swift)]**\n- [PARTITION-EQUAL-SUBSET-SUM](https://leetcode.com/problems/partition-equal-subset-sum)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/partition-equal-subset-sum.py)]**\n- [PATH-SUM-II](https://leetcode.com/problems/path-sum-ii)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/path-sum-ii.py)]**\n- [PERFECT-SQUARES](https://leetcode.com/problems/perfect-squares)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/perfect-squares.py)]**\n- [PERMUTATIONS-II](https://leetcode.com/problems/permutations-ii)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/permutations-ii.py)]**\n- [PERMUTATIONS](https://leetcode.com/problems/permutations)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/permutations.py)]**\n- [PREDICT-THE-WINNER](https://leetcode.com/problems/predict-the-winner)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/predict-the-winner.py)]**\n- [RACE-CAR](https://leetcode.com/problems/race-car)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/race-car.py)]**\n- [RANGE-SUM-QUERY-2D-IMMUTABLE](https://leetcode.com/problems/range-sum-query-2d-immutable)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/range-sum-query-2d-immutable.py)]**\n- [REMOVE-NTH-NODE-FROM-END-OF-LIST](https://leetcode.com/problems/remove-nth-node-from-end-of-list)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/remove-nth-node-from-end-of-list.py)]**\n- [REORDER-LIST](https://leetcode.com/problems/reorder-list)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/reorder-list.py)]**\n- [REVERSE-WORDS-IN-A-STRING-III](https://leetcode.com/problems/reverse-words-in-a-string-iii)   **[[.cpp](https://github.com/trilliwon/LeetCode/blob/master/medium/reverse-words-in-a-string-iii.cpp)]**\n- [ROTATE-IMAGE](https://leetcode.com/problems/rotate-image)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/rotate-image.py)]**\n- [ROTATE-LIST](https://leetcode.com/problems/rotate-list)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/rotate-list.py)]**\n- [SCORE-OF-PARENTHESES](https://leetcode.com/problems/score-of-parentheses)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/medium/score-of-parentheses.swift)]**\n- [SET-MATRIX-ZEROES](https://leetcode.com/problems/set-matrix-zeroes)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/set-matrix-zeroes.py)]**\n- [SNAKES-AND-LADDERS](https://leetcode.com/problems/snakes-and-ladders)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/medium/snakes-and-ladders.swift)]**\n- [SUBDOMAIN-VISIT-COUNT](https://leetcode.com/problems/subdomain-visit-count)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/subdomain-visit-count.py)]**\n- [SUBSETS-II](https://leetcode.com/problems/subsets-ii)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/subsets-ii.py)]**\n- [SUBSETS](https://leetcode.com/problems/subsets)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/subsets.py)]**\n- [TARGET-SUM](https://leetcode.com/problems/target-sum)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/target-sum.py)]**\n- [TRIANGLE](https://leetcode.com/problems/triangle)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/triangle.py)]**\n- [UGLY-NUMBER-II](https://leetcode.com/problems/ugly-number-ii)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/ugly-number-ii.py)]**\n- [UNIQUE-BINARY-SEARCH-TREES-II](https://leetcode.com/problems/unique-binary-search-trees-ii)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/unique-binary-search-trees-ii.py)]**\n- [UNIQUE-BINARY-SEARCH-TREES](https://leetcode.com/problems/unique-binary-search-trees)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/unique-binary-search-trees.py)]**\n- [UNIQUE-MORSE-CODE-WORDS](https://leetcode.com/problems/unique-morse-code-words)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/unique-morse-code-words.py)]**\n- [UNIQUE-PATHS-II](https://leetcode.com/problems/unique-paths-ii)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/medium/unique-paths-ii.swift)]**\n- [UNIQUE-PATHS](https://leetcode.com/problems/unique-paths)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/medium/unique-paths.swift)]**\n- [VALIDATE-BINARY-SEARCH-TREE](https://leetcode.com/problems/validate-binary-search-tree)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/validate-binary-search-tree.py)]**\n- [WIGGLE-SUBSEQUENCE](https://leetcode.com/problems/wiggle-subsequence)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/wiggle-subsequence.py)]**\n- [WORD-BREAK](https://leetcode.com/problems/word-break)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/medium/word-break.py)]**\n- [WORD-SUBSETS](https://leetcode.com/problems/word-subsets)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/medium/word-subsets.swift)]**\n- [ZIGZAG-CONVERSION](https://leetcode.com/problems/zigzag-conversion)   **[[.swift](https://github.com/trilliwon/LeetCode/blob/master/medium/zigzag-conversion.swift)]**\n\n## HARD\n- [BINARY-TREE-POSTORDER-TRAVERSAL](https://leetcode.com/problems/binary-tree-postorder-traversal)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/hard/binary-tree-postorder-traversal.py)]**\n- [N-QUEENS-II](https://leetcode.com/problems/n-queens-ii)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/hard/n-queens-ii.py)]**\n- [N-QUEENS](https://leetcode.com/problems/n-queens)   **[[.py](https://github.com/trilliwon/LeetCode/blob/master/hard/n-queens.py)]**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrilliwon%2Fleetcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrilliwon%2Fleetcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrilliwon%2Fleetcode/lists"}