26 lines
612 B
Markdown
26 lines
612 B
Markdown
# My solutions
|
|
|
|
Solutions to various programming problems.
|
|
|
|
- [My leetcode profile](https://leetcode.com/ordinary-dev/)
|
|
|
|
I don't claim to be the best programmer.
|
|
These solutions may not be the most optimal, but these are my solutions.
|
|
|
|
## How to run and test my solutions
|
|
|
|
Ruby:
|
|
|
|
```bash
|
|
cd random-problem
|
|
ruby test.rb
|
|
```
|
|
|
|
## Why Ruby?
|
|
|
|
Solving problems in Ruby can be a lot more fun than it first appears.
|
|
It is relatively slow language.
|
|
Sub-optimal C or Rust solutions will pass all tests,
|
|
but Ruby or Python solutions will not be able to meet the time limit.
|
|
This forces us to look for optimized algorithms.
|