https://oneruby.dev/mastering-leetcode-challenges-with-ruby/