My answers for leetcode questions
Go to file
Gleb Koval dbe344221b
single-number-iii
2021-11-10 15:12:32 +00:00
arranging-coins arranging-coins 2021-11-05 15:40:01 +00:00
best-time-to-buy-and-sell-stock best-time-to-buy-and-sell-stock 2021-11-05 12:52:48 +00:00
best-time-to-buy-and-sell-stock-ii best-time-to-buy-and-sell-stock-ii 2021-11-10 14:44:37 +00:00
binary-search binary-search 2021-11-05 14:54:48 +00:00
contains-duplicate contains-duplicate 2021-11-05 12:53:01 +00:00
count-vowel-substrings-of-a-string count-vowel-substrings-of-a-string 2021-11-09 16:40:44 +00:00
first-bad-version first-bad-version 2021-11-05 15:09:36 +00:00
maximum-path-quality-of-a-graph maximum-path-quality-of-a-graph 2021-11-10 14:32:05 +00:00
maximum-subarray maximum-subarray 2021-11-05 14:32:37 +00:00
middle-of-the-linked-list middle-of-the-linked-list 2021-11-09 15:56:54 +00:00
move-zeroes move-zeroes 2021-11-07 20:12:20 +00:00
multiply-strings removed main() from multiply-strings 2021-11-07 21:12:30 +00:00
number-of-valid-words-for-each-puzzle number-of-valid-words-for-each-puzzle 2021-11-09 02:07:53 +00:00
product-of-array-except-self product-of-array-except-self 2021-11-05 12:53:13 +00:00
remove-nth-node-from-end-of-list remove-nth-node-from-end-of-list 2021-11-09 16:10:49 +00:00
reverse-string reverse-string 2021-11-08 13:00:57 +00:00
reverse-words-in-a-string-iii reverse-words-in-a-string-iii 2021-11-08 19:34:36 +00:00
rotate-array rotate-array 2021-11-07 20:06:26 +00:00
search-insert-position search-insert-position 2021-11-05 15:18:31 +00:00
single-number-iii single-number-iii 2021-11-10 15:12:32 +00:00
squares-of-a-sorted-array squares-of-a-sorted-array 2021-11-07 19:45:34 +00:00
string-to-integer-atoi string-to-integer-atoi 2021-11-09 11:42:53 +00:00
sum-of-left-leaves sum-of-left-leaves 2021-11-05 16:02:35 +00:00
tenth-line tenth-line 2021-11-08 19:41:28 +00:00
transpose-file transpose-file 2021-11-08 21:18:55 +00:00
two-sum two-sum 2021-11-05 12:52:26 +00:00
two-sum-ii-input-array-is-sorted two-sum-ii-input-array-is-sorted 2021-11-07 20:18:20 +00:00
unique-binary-search-trees unique-binary-search-trees 2021-11-08 12:56:51 +00:00
word-frequency word-frequency 2021-11-08 20:28:06 +00:00
README.md naming section in README.md 2021-11-05 12:52:08 +00:00

README.md

Gleb's leetcode solutions

These are most of my solutions to various leetcode problems.

They are by no means the best solutions, rather what I could come up with by myself.

In each solution I always aim for the lowest possible time complexity first; however, there may be multiple solutions for some problems to try to minimise space complexity instead.

Naming

Each folder is the name of the problem from its URL, so the problem can be accessed at:

https://leetcode.com/problems/<folder-name>/