r/programming • u/svpino • May 08 '15
Five programming problems every Software Engineer should be able to solve in less than 1 hour
https://blog.svpino.com/2015/05/07/five-programming-problems-every-software-engineer-should-be-able-to-solve-in-less-than-1-hour
2.5k
Upvotes
3
u/aZeex2ai May 08 '15
There is a button on ruby-doc called 'click to toggle source'.
Here's the source for the Array#repeated_permutation method in Ruby 2.2.2. Is it the most efficient algorithm? I don't know.