leetcode-go

module
v0.0.0-...-12d6ff9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2020 License: MIT

README

leetcode-go

Test Coverage Maintainability

Solutions to free LeetCode problems, in Golang.

Directories

Path Synopsis
easy
1108-defanging-ip-address
Problem: https://leetcode.com/problems/defanging-an-ip-address/
Problem: https://leetcode.com/problems/defanging-an-ip-address/
1221-balanced-strings
Problem: https://leetcode.com/problems/split-a-string-in-balanced-strings/
Problem: https://leetcode.com/problems/split-a-string-in-balanced-strings/
1252-odd-values-matrix
Problem: https://leetcode.com/problems/cells-with-odd-values-in-a-matrix/
Problem: https://leetcode.com/problems/cells-with-odd-values-in-a-matrix/
1266-min-time-visit
Problem: https://leetcode.com/problems/minimum-time-visiting-all-points/
Problem: https://leetcode.com/problems/minimum-time-visiting-all-points/
1281-subtract-product-sum
Problem: https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer/
Problem: https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer/
1290-binary-number-linked-list
Problem: https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer/
Problem: https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer/
1295-even-digits
Problem: https://leetcode.com/problems/find-numbers-with-even-number-of-digits/
Problem: https://leetcode.com/problems/find-numbers-with-even-number-of-digits/
1299-greatest-element-right
Problem: https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side/
Problem: https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side/
1304-sum-up-to-zero
Problem: https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero/
Problem: https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero/
1309-decrypt-string
Problem: https://leetcode.com/problems/decrypt-string-from-alphabet-to-integer-mapping/
Problem: https://leetcode.com/problems/decrypt-string-from-alphabet-to-integer-mapping/
1323-max-69-number
Problem: https://leetcode.com/problems/maximum-69-number/
Problem: https://leetcode.com/problems/maximum-69-number/
1342-reduce-number-to-zero
Problem: https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero/
Problem: https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero/
1351-count-negative-sorted-matrix
Problem: https://leetcode.com/problems/count-negative-numbers-in-a-sorted-matrix/
Problem: https://leetcode.com/problems/count-negative-numbers-in-a-sorted-matrix/
1365-smaller-than-current-number
Problem: https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number/
Problem: https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number/
1374-string-odd-counts
Problem: https://leetcode.com/problems/generate-a-string-with-characters-that-have-odd-counts/
Problem: https://leetcode.com/problems/generate-a-string-with-characters-that-have-odd-counts/
1389-target-array-given-order
Problem: https://leetcode.com/problems/create-target-array-in-the-given-order/
Problem: https://leetcode.com/problems/create-target-array-in-the-given-order/
1431-greatest-number-of-candies
Problem: https://leetcode.com/problems/kids-with-the-greatest-number-of-candies/
Problem: https://leetcode.com/problems/kids-with-the-greatest-number-of-candies/
1436-destination-city
Problem: https://leetcode.com/problems/destination-city/
Problem: https://leetcode.com/problems/destination-city/
1450-students-homework
Problem: https://leetcode.com/problems/number-of-students-doing-homework-at-a-given-time/
Problem: https://leetcode.com/problems/number-of-students-doing-homework-at-a-given-time/
1464-max-products
Problem: https://leetcode.com/problems/maximum-product-of-two-elements-in-an-array/
Problem: https://leetcode.com/problems/maximum-product-of-two-elements-in-an-array/
1470-shuffle-array
Problem: https://leetcode.com/problems/shuffle-the-array/
Problem: https://leetcode.com/problems/shuffle-the-array/
1475-final-prices-special-discount
Problem: https://leetcode.com/problems/final-prices-with-a-special-discount-in-a-shop/
Problem: https://leetcode.com/problems/final-prices-with-a-special-discount-in-a-shop/
1480-running-sum-1d
Problem: https://leetcode.com/problems/running-sum-of-1d-array/
Problem: https://leetcode.com/problems/running-sum-of-1d-array/
1486-bitwise-xor-array
Problem: https://leetcode.com/problems/xor-operation-in-an-array/
Problem: https://leetcode.com/problems/xor-operation-in-an-array/
1512-number-of-good-pairs
Problem: https://leetcode.com/problems/number-of-good-pairs/
Problem: https://leetcode.com/problems/number-of-good-pairs/
1528-shuffle-string
Problem: https://leetcode.com/problems/shuffle-string/
Problem: https://leetcode.com/problems/shuffle-string/
1534-good-triplets
Problem: https://leetcode.com/problems/count-good-triplets/
Problem: https://leetcode.com/problems/count-good-triplets/
1614-nesting-depth-parenthesis
Problem: https://leetcode.com/problems/maximum-nesting-depth-of-the-parentheses/
Problem: https://leetcode.com/problems/maximum-nesting-depth-of-the-parentheses/
1640-array-concatenation
Problem: https://leetcode.com/problems/check-array-formation-through-concatenation/
Problem: https://leetcode.com/problems/check-array-formation-through-concatenation/
344-reverse-string
Problem: https://leetcode.com/problems/reverse-string/
Problem: https://leetcode.com/problems/reverse-string/
617-merge-binary-trees
Problem: https://leetcode.com/problems/merge-two-binary-trees/
Problem: https://leetcode.com/problems/merge-two-binary-trees/
657-robot-return-to-origin
Problem: https://leetcode.com/problems/robot-return-to-origin/
Problem: https://leetcode.com/problems/robot-return-to-origin/
700-search-in-bst
Problem: https://leetcode.com/problems/search-in-a-binary-search-tree/
Problem: https://leetcode.com/problems/search-in-a-binary-search-tree/
709-lower-case
Problem: https://leetcode.com/problems/to-lower-case/
Problem: https://leetcode.com/problems/to-lower-case/
728-self-dividing-numbers
Problem: https://leetcode.com/problems/self-dividing-numbers/
Problem: https://leetcode.com/problems/self-dividing-numbers/
771-jewels-and-stones
Problem: https://leetcode.com/problems/jewels-and-stones/
Problem: https://leetcode.com/problems/jewels-and-stones/
804-morse-code
Problem: https://leetcode.com/problems/unique-morse-code-words/
Problem: https://leetcode.com/problems/unique-morse-code-words/
905-sort-array-by-parity
Problem: https://leetcode.com/problems/sort-array-by-parity/
Problem: https://leetcode.com/problems/sort-array-by-parity/
942-di-string-match
Problem: https://leetcode.com/problems/di-string-match/
Problem: https://leetcode.com/problems/di-string-match/
961-n-repeated-element
Problem: https://leetcode.com/problems/n-repeated-element-in-size-2n-array/
Problem: https://leetcode.com/problems/n-repeated-element-in-size-2n-array/

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL