25 lines
742 B
Markdown
25 lines
742 B
Markdown
# Gleb's leetcode solutions
|
|
These are most of my solutions to various
|
|
[leetcode](https://leetcode.com) 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>/
|
|
```
|
|
|
|
All solutions for the various languages are named
|
|
`sol.<ext>`, although generally I don't vary all that
|
|
much.
|
|
|
|
If I have written multiple solutions in a language,
|
|
they will be named `sol_<description>.<ext>`. |