using `[..]` creates a seq[char] from your openArray, so your function uses O(n^2) memory and is possibly being killed by the os.
instead of using `..` use `recursiveExplorer(toOpenArray(s,0,s.len-2))` and you wont produce a copy
using `[..]` creates a seq[char] from your openArray, so your function uses O(n^2) memory and is possibly being killed by the os.
instead of using `..` use `recursiveExplorer(toOpenArray(s,0,s.len-2))` and you wont produce a copy