import std/unittest from std/algorithm import sorted from std/sequtils import filterIt, toSeq # run tests with following command: # nim r ch_1.nim proc checkOrder(ints: openArray[int]): seq[int] = let sortedInts: seq[int] = sorted(ints) result = filterIt(toSeq(0..