My solutions to various programming problems
Find a file
Ivan a0531d2e68
Solve the third day of AOC-23 (#1)
* Add (non-working) solution to day 3 of advent of code

* Fix part 1

* Finish third day
2024-01-07 01:59:16 +05:00
advent-of-code-2023 Solve the third day of AOC-23 (#1) 2024-01-07 01:59:16 +05:00
leetcode Add problem 0007 2023-11-30 11:56:47 +05:00
.gitignore Add solutions to the first day of AOC-23 2023-12-01 12:08:22 +05:00
go.mod Add problem 0007 2023-11-30 11:56:47 +05:00
license.txt Create license.txt 2022-11-17 17:16:30 +05:00
readme.md Add problem 0007 2023-11-30 11:56:47 +05:00

My solutions

Solutions to various programming problems.

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:

cd random-problem
ruby test.rb

Go:

cd random-problem
go test ./...

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.

Why Go?

Go is used when stronger typing is required. This helps not to violate the conditions of the task.