Add a note about Ruby

This commit is contained in:
Ivan R. 2023-03-09 00:35:49 +05:00
parent 512bc73ac5
commit 7b00ab2429
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C

View file

@ -14,6 +14,15 @@ cd problems/random-problem
ruby test.rb
```
## Why Ruby?
Solving problems in Ruby can be a lot more fun than it first appears.
Although it is a relatively simple programming language that does not require manual memory manipulation,
it is also a 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.
## Structure
- `main.rb` - the solution itself