{"id":21589475,"url":"https://github.com/ksw2000/leetcode-practice","last_synced_at":"2025-03-18T09:43:32.277Z","repository":{"id":59990455,"uuid":"222121695","full_name":"ksw2000/Leetcode-Practice","owner":"ksw2000","description":"Practice for leetcode.com","archived":false,"fork":false,"pushed_at":"2023-10-09T20:10:07.000Z","size":217,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-24T16:14:10.883Z","etag":null,"topics":["leetcode"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ksw2000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-11-16T15:49:13.000Z","updated_at":"2023-03-21T17:53:32.000Z","dependencies_parsed_at":"2024-01-18T09:06:14.271Z","dependency_job_id":"841dc885-b30c-4940-9db5-f2d85e28a4ad","html_url":"https://github.com/ksw2000/Leetcode-Practice","commit_stats":null,"previous_names":["liao2000/leetcode-practice"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksw2000%2FLeetcode-Practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksw2000%2FLeetcode-Practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksw2000%2FLeetcode-Practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksw2000%2FLeetcode-Practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksw2000","download_url":"https://codeload.github.com/ksw2000/Leetcode-Practice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244198189,"owners_count":20414439,"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","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":["leetcode"],"created_at":"2024-11-24T16:14:36.342Z","updated_at":"2025-03-18T09:43:32.249Z","avatar_url":"https://github.com/ksw2000.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LeetCode Practice\n\nhttps://leetcode.com/\n\n|  #   | Question                                                     |                                                              |\n| :--: | :----------------------------------------------------------- | ------------------------------------------------------------ |\n| 001  | [two-sum](https://leetcode.com/problems/two-sum)             | [Go](./two-sum/two-sum.go), [C](./two-sum/two-sum.c), [JS](./two-sum/two-sum.js), [PHP](./two-sum/two-sum.php), [Rust](./two-sum/two-sum.rs), [Java](./two-sum/TwoSum.java) |\n| 002  | [add-two-numbers](https://leetcode.com/problems/add-two-numbers) | [Go](./add-two-numbers/add-two-numbers.go), [C](./add-two-numbers/add-two-numbers.c), [JS](./add-two-numbers/add-two-numbers.js) |\n| 003  | [longest-substring-without-repeating-characters](https://leetcode.com/problems/longest-substring-without-repeating-characters) | [Go](./longest-substring-without-repeating-characters/longest-substring-without-repeating-characters.go), [C](./longest-substring-without-repeating-characterslongest-substring-without-repeating-characters.c) |\n| 004  | [median-of-two-sorted-arrays](https://leetcode.com/problems/median-of-two-sorted-arrays) | [Go](./median-of-two-sorted-arrays/median-of-two-sorted-arrays.go) |\n| 005  | [longest-palindromic-substring](https://leetcode.com/problems/longest-palindromic-substring) | [Go](./longest-palindromic-substring/longest-palindromic-substring.go) |\n| 006  | [zigzag-conversion](https://leetcode.com/problems/zigzag-conversion) | [Go](./zigzag-conversion/zigzag-conversion.go)               |\n| 007  | [reverse-integer](https://leetcode.com/problems/reverse-integer) | [Go](./reverse-integer/reverse-integer.go), [JS](./reverse-integer/reverse-integer.js) |\n| 008  | [string-to-integer-atoi](https://leetcode.com/problems/string-to-integer-atoi) | [Go](./string-to-integer-atoi/string-to-integer-atoi.go)     |\n| 009  | [palindrome-number](https://leetcode.com/problems/palindrome-number) | [Go](./palindrome-number/palindrome-number.go), [C](./palindrome-number/palindrome-number.c) |\n| 010 | [regular-expression-matching](https://leetcode.com/problems/regular-expression-matching/) | [Go](./regular-expression-matching/regular-expression-matching.go) |\n| 011  | [container-with-most-water](./container-with-most-water)     | [Go](./container-with-most-water/container-with-most-water.go) |\n| 012 | [integer-to-roman](https://leetcode.com/problems/integer-to-roman) | [Go](integer-to-roman) |\n| 013 | [roman-to-integer](https://leetcode.com/problems/roman-to-integer) |[Go](./roman-to-integer/roman-to-integer.go) |\n| 014 | [longest-common-prefix](https://leetcode.com/problems/longest-common-prefix/) | [Go](./longest-common-prefix/longest-common-prefix.go)|\n| 015 | [3sum](https://leetcode.com/problems/3sum/) | [Go](./3sum/3sum.go), [JS](./3sum/3sum.js) |\n| 016 | [3sum-closest](https://leetcode.com/problems/3sum-closest/) | [Go](./3sum-closest/3sum-closest.go) |\n| 017 | [letter-combinations-of-a-phone-number](https://leetcode.com/problems/letter-combinations-of-a-phone-number) | [Go](./letter-combinations-of-a-phone-number/letter-combinations-of-a-phone-number.go) |\n| 018  | [4sum](https://leetcode.com/problems/4sum/)                  | [Go](./4Sum/4Sum.go)                                         |\n| 019 |[remove-nth-node-from-end-of-list](https://leetcode.com/problems/remove-nth-node-from-end-of-list) | [Go](./remove-nth-node-from-end-of-list/remove-nth-node-from-end-of-list.go), [C](./remove-nth-node-from-end-of-list/remove-nth-node-from-end-of-list.c) |\n| 020 | [valid-parentheses](https://leetcode.com/problems/valid-parentheses/) | [Go](./valid-parentheses/valid-parentheses.go), [C](./valid-parentheses/valid-parentheses.c) |\n| 021|[merge-two-sorted-lists](https://leetcode.com/problems/merge-two-sorted-lists/) |[Go](./merge-two-sorted-lists/merge-two-sorted-lists.go) |\n| 022| [generate-parentheses](https://leetcode.com/problems/generate-parentheses/) |[Go](./generate-parentheses/generate-parentheses.go) |\n| 023 | [merge-k-sorted-lists](https://leetcode.com/problems/merge-k-sorted-lists/) |[Go](./merge-k-sorted-lists/merge-k-sorted-lists.go) |\n| 024|[swap-nodes-in-pairs](https://leetcode.com/problems/swap-nodes-in-pairs/)|[Go](./swap-nodes-in-pairs/swap-nodes-in-pairs.go), [C](./swap-nodes-in-pairs/swap-nodes-in-pairs.c)|\n| 025 |[reverse-nodes-in-k-groups](https://leetcode.com/problems/reverse-nodes-in-k-group/)|[Go](./reverse-nodes-in-k-groups/reverse-nodes-in-k-groups.go)|\n| 026 | [remove-duplicates-from-sorted-array](https://leetcode.com/problems/remove-duplicates-from-sorted-array/) | [Go](./remove-duplicates-from-sorted-array/remove-duplicates-from-sorted-array.go), [C](./remove-duplicates-from-sorted-array/remove-duplicates-from-sorted-array.c)|\n| 027 | [remove-element](https://leetcode.com/problems/remove-element/) | [Go](./remove-element/remove-element.go), [C](./remove-element/remove-element.c), [JS](./remove-element/remove-element.js) |\n| 028 | [find-the-index-of-the-first-occurrence-in-a-string](https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string/) | [Go](./find-the-index-of-the-first-occurrence-in-a-string/find-the-index-of-the-first-occurrence-in-a-string.go), [C](./find-the-index-of-the-first-occurrence-in-a-string/find-the-index-of-the-first-occurrence-in-a-string.c), [JS](./find-the-index-of-the-first-occurrence-in-a-string/find-the-index-of-the-first-occurrence-in-a-string.js) |\n| 029 | [divide-two-integers](https://leetcode.com/problems/divide-two-integers/) | [Go](./divide-two-integers/divide-two-integers.go)|\n| 030 | [substring-with-concatenation-of-all-words]() | [Go](./substring-with-concatenation-of-all-words/substring-with-concatenation-of-all-words.go) |\n| 031 | [next-permutation](https://leetcode.com/problems/next-permutation/) | [Go](./next-permutation/next-permutation.go) |\n| 032 | [longest-valid-parentheses](https://leetcode.com/problems/longest-valid-parentheses/) | [Go](./longest-valid-parentheses/longest-valid-parentheses.go) |\n|  |  |  |\n| 034 | [find-first-and-last-position-of-element-in-sorted-array](https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array) | [Go](./find-first-and-last-position-of-element-in-sorted-array/find-first-and-last-position-of-element-in-sorted-array.go) |\n|  |  |  |\n|  |  |  |\n| 037 | [sudoku-solver](https://leetcode.com/problems/sudoku-solver/) | [Go](./sudoku-solver/sudoku-solver.go) |\n| 038  | [count-and-say](https://leetcode.com/problems/count-and-say/) | [Go](./count-and-say/count-and-say.go)                       |\n| 039 | [combination-sum](https://leetcode.com/problems/combination-sum/) | [Go](./combination-sum/combination-sum.go) |\n| 040 | [combination-sum-ii](https://leetcode.com/problems/combination-sum-ii/) | [Go](./combination-sum-ii/combination-sum-ii.go) |\n| 041 | [first-missing-positive](https://leetcode.com/problems/first-missing-positive/) | [Go](./first-missing-positive/first-missing-positive.go) |\n| 042 | [trapping-rain-water](https://leetcode.com/problems/trapping-rain-water/) | [Go](./trapping-rain-water/trapping-rain-water.go) |\n| 043 | [multiply-strings](https://leetcode.com/problems/multiply-strings/) | [Go](./multiply-strings/multiply-strings.go) |\n| 044|[wildcard-matching](https://leetcode.com/problems/wildcard-matching/) |[Go](./wildcard-matching/wildcard-matching.go) |\n| 045|[jump-game-ii](https://leetcode.com/problems/jump-game-ii/) |[Go](./jump-game-ii/jump-game-ii.go) |\n| | | |\n| | | |\n| | | |\n| 049 | [group-anagrams](https://leetcode.com/problems/group-anagrams/) | [Go](./group-anagrams/group-anagrams.go) |\n| 053 | [maximum-subarray](https://leetcode.com/problems/maximum-subarray/) | [Go](./maximum-subarray/maximum-subarray.go), [C](./maximum-subarray/maximum-subarray.c) |\n| 055 | [jump-game](https://leetcode.com/problems/jump-game/) | [Go](./jump-game/jump-game.go)|\n| 059 | [spiral-matrix-ii](https://leetcode.com/problems/spiral-matrix-ii/) | [Go](https://leetcode.com/problems/spiral-matrix-ii/) |\n| 060 | [permutation-sequence](https://leetcode.com/problems/permutation-sequence/) | [Go](./permutation-sequence/permutation-sequence.go) |\n| 061 |[rotate-list](https://leetcode.com/problems/rotate-list/) | [Go](./rotate-list/rotate-list.go)|\n| 064|[minimum-path-sum](https://leetcode.com/problems/minimum-path-sum/) | [Go](./minimum-path-sum/minimum-path-sum.go) |\n| 070| [climbing-stairs](https://leetcode.com/problems/climbing-stairs/) | [Go](./climbing-stairs/climbing-stairs.go) |\n| 071 | [simplify-path](https://leetcode.com/problems/simplify-path/) | [Go](./simplify-path/simplify-path.go) |\n| 073 | [set-matrix-zeros](https://leetocde.com/problems/set-matrix-zeros/) | [Go](./set-matrix-zeros/set-matrix-zeros.go) |\n| 082 |[remove-duplicates-from-sorted-list-ii](https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/) | [Go](./remove-duplicates-from-sorted-list-ii/remove-duplicates-from-sorted-list-ii.go)|\n| 083| [remove-duplicates-from-sorted-list](https://leetcode.com/problems/remove-duplicates-from-sorted-list/) | [Go](./remove-duplicates-from-sorted-list/remove-duplicates-from-sorted-list.go)|\n| 086|[partition-list](https://leetcode.com/problems/partition-list/) |[Go](./partition-list/partition-list.go)|\n| 091 | [decode-ways](https://leetcode.com/problems/decode-ways/) |[Go](./decode-ways/decode-ways.go) |\n\n|  #   | Question                                                     |                                                              |\n| :--: | :----------------------------------------------------------- | ------------------------------------------------------------ |\n| 101 | [symmetric-tree](https://leetcode.com/problems/symmetric-tree/) | [Go](./symmetric-tree/symmetric-tree.go) |\n| 102 | [binary-tree-level-order-traversal](https://leetcode.com/problems/binary-tree-level-order-traversal/) | [C](./binary-tree-level-order-traversal/binary-tree-level-order-traversal.c) |\n| 105 | [construct-binary-tree-from-preorder-and-inorder-traversal](https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/) | [C](./construct-binary-tree-from-preorder-and-inorder-traversal/construct-binary-tree-from-preorder-and-inorder-traversal.c) |\n| 106 | [construct-binary-tree-from-inorder-and-postorder-traversal](https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal/) | [C](./construct-binary-tree-from-inorder-and-postorder-traversal/construct-binary-tree-from-inorder-and-postorder-traversal.c) |\n| 109 | [convert-sorted-list-to-binary-search-tree](https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree/) | [C](./convert-sorted-list-to-binary-search-tree/convert-sorted-list-to-binary-search-tree.c)|\n| 111 | [minimum-depth-of-binary-tree](https://leetcode.com/problems/minimum-depth-of-binary-tree/) | [C](./minimum-depth-of-binary-tree/minimum-depth-of-binary-tree.c) |\n| 112 | [path-sum](https://leetcode.com/problems/path-sum/) | [Go](./path-sum/path-sum.go) |\n| 115 | [distinct-subsequences](https://leetcode.com/problems/distinct-subsequences/) | [C](./distinct-subsequences/distinct-subsequences.c) |\n| 118 | [pascals-triangle](https://leetcode.com/problems/pascals-triangle/) | [C](./pascals-triangle/pascals-triangle.c) |\n| 119 | [pascals-triangle-ii](https://leetcode.com/problems/pascals-triangle-ii/) | [C](./pascals-triangle-ii/pascals-triangle-ii.c)|\n| 138 | [copy-list-with-random-pointer](https://leetcode.com/problems/copy-list-with-random-pointer/) | [Go](./copy-list-with-random-pointer/copy-list-with-random-pointer.go) |\n| 141 |[linked-list-cycle](https://leetcode.com/problems/linked-list-cycle/) | [Go](./linked-list-cycle/linked-list-cycle.go) |\n|  143 | [gas-station](https://leetcode.com/problems/gas-station/) | [Go](./gas-station/gas-station.go) |\n| 144 |[binary-tree-preorder-traversal](https://leetcode.com/problems/binary-tree-preorder-traversal/)|[Go](./binary-tree-preorder-traversal/binary-tree-preorder-traversal.go) |\n| 147|[insertion-sort-list](https://leetcode.com/problems/insertion-sort-list/) | [Go](./insertion-sort-list/insertion-sort-list.go) |\n| 148  | [sort-list](https://leetcode.com/problems/sort-list/)        | [Go](./sort-list/sort-list.go)                               |\n| 165 | [compare-version-numbers](https://leetcode.com/problems/compare-version-numbers/) | [Go](./compare-version-numbers/compare-version-numbers.go) |\n| 338  | [counting-bits](https://leetcode.com/problems/counting-bits/) | [Go](./counting-bits/counting-bits.go), [C](./counting-bits/counting-bits.c) |\n| 343 | [integer-break](https://leetcode.com/problems/integer-break/) | [Go](./integer-break/integer-break.go) |\n| 392 | [is-subsequence](https://leetcode.com/problems/is-subsequence/)|[Go](./is-subsequence/is-subsequence.go)|\n| 413 |[arithmetic-slices](https://leetcode.com/problems/arithmetic-slices/) | [Go](./arithmetic-slices/arithmetic-slices.go)|\n| 542 | [01-matrix](https://leetcode.com/problems/01-matrix/) |[Go](./01-matrix/01-matrix.go)|\n| 622 | [design-circular-queue](https://leetcode.com/problems/design-circular-queue/)|[Go](./design-circular-queue/design-circular-queue.go)|\n| 623|[add-one-row-to-tree](https://leetcode.com/problems/add-one-row-to-tree/) | [Go](./add-one-row-to-tree/add-one-row-to-tree.go) |\n| 658 | [find-k-closest-elements](https://leetcode.com/problems/find-k-closest-elements) | [Go](./find-k-closest-elements/find-k-closest-elements.go) |\n| 948 | [bag-of-tokens](https://leetcode.com/problems/bag-of-tokens/) | [Go](./bag-of-tokens/bag-of-tokens.go)|\n| 981 | [time-based-key-value-store](https://leetcode.com/problems/time-based-key-value-store/)|[Go](./time-based-key-value-store/time-based-key-value-store.go) |\n| 990 | [satisfiability-of-equality-equations](https://leetcode.com/problems/satisfiability-of-equality-equations/) | [Go](./satisfiability-of-equality-equations/satisfiability-of-equality-equations.go) |\n| 997| [find-the-town-judge](https://leetcode.com/problems/find-the-town-judge/) |[Go](./find-the-town-judge/find-the-town-judge.go), [C](./find-the-town-judge/find-the-town-judge.c) |\n| 1328 | [break-a-palindrome](https://leetcode.com/problems/break-a-palindrome/) | [Go](./break-a-palindrome/break-a-palindrome.go)|\n|1337| [the-k-weakest-rows-in-a-matrix](https://leetcode.com/problems/the-k-weakest-rows-in-a-matrix/) | [Go](./the-k-weakest-rows-in-a-matrix/the-k-weakest-rows-in-a-matrix.go) |\n| 1578 | [minimum-time-to-make-rope-colorful]( https://leetcode.com/problems/minimum-time-to-make-rope-colorful/) | [Go](./minimum-time-to-make-rope-colorful/minimum-time-to-make-rope-colorful.go)|\n|1680| [concatenation-of-consecutive-binary-numbers](https://leetcode.com/problems/concatenation-of-consecutive-binary-numbers/) | [Go](./concatenation-of-consecutive-binary-numbers/concatenation-of-consecutive-binary-numbers.go), [C](./concatenation-of-consecutive-binary-numbers/concatenation-of-consecutive-binary-numbers.c)|\n| 2246|[longest-path-with-different-adjacent-characters](https://leetcode.com/problems/longest-path-with-different-adjacent-characters/)|[Go](./longest-path-with-different-adjacent-characters/longest-path-with-different-adjacent-characters.go)|\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksw2000%2Fleetcode-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksw2000%2Fleetcode-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksw2000%2Fleetcode-practice/lists"}