Submission Status: Passed
Submitted for: March 3 - Building a Combination Lock Picker in Ruby
Submitted at: August 01, 2017
def lockpick arr, combinations: nil return arr.permutation(3).to_a if combinations arr.permutation(3).size end
devCamp does not support ancient browsers.
Install a modern version for best experience.