Find the missing permutation: Difference between revisions
Content added Content deleted
PatGarrett (talk | contribs) m (→{{header|360 Assembly}}: a correction) |
m (→{{header|Sidef}}: modified code to work with Sidef 2.10) |
||
Line 1,807:
{{trans|Perl}}
<lang ruby>func check_perm(arr) {
(var hash = Hash.new)
arr.each { |s|
s.len.times {
Line 1,813:
hash.has_key(t) || return t;
}
}
}
|