Gleb Koval 6a0a9e2b9a | ||
---|---|---|
arranging-coins | ||
best-time-to-buy-and-sell-stock | ||
binary-search | ||
contains-duplicate | ||
first-bad-version | ||
maximum-subarray | ||
product-of-array-except-self | ||
rotate-array | ||
search-insert-position | ||
squares-of-a-sorted-array | ||
sum-of-left-leaves | ||
two-sum | ||
README.md |
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>/