You are viewing a single comment's thread. Return to all comments →
clojure:
(doseq [n-itr (range (Integer/parseInt (read-line)))] (let [s (read-line) fst (take-nth 2 s) scd (take-nth 2 (rest s))] (println (apply str (flatten (map vector scd fst))))))
Seems like cookies are disabled on this browser, please enable them to open this website
String-o-Permute
You are viewing a single comment's thread. Return to all comments →
clojure: