TheAlgorithms / Ruby

All algorithms implemented in Ruby
MIT License
1.19k stars 294 forks source link

Good pairs algorithm #148

Closed jsca-kwok closed 3 years ago

jsca-kwok commented 3 years ago

This PR proposes to add solutions to the good pairs algorithm: