Find the missing permutation: Difference between revisions

Content added Content deleted
m (negated an untruth.)
(Updated to work with Nim 1.4: added missing parameter type, replaced ".. <" by "..<" and replaced "split" by "splitWhiteSpace".)
Line 2,047: Line 2,047:
<lang nim>import strutils
<lang nim>import strutils


proc missingPermutation(arr): string =
proc missingPermutation(arr: openArray[string]): string =
result = ""
result = ""
if arr.len == 0: return
if arr.len == 0: return