Skip to content

Commit

Permalink
Merge pull request #92 from jeroenvandijk/patch-1
Browse files Browse the repository at this point in the history
Use clojure.string/includes? to make check cross platform
  • Loading branch information
oxalorg authored Mar 12, 2024
2 parents 48abfba + f5f7fad commit c34250a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/data.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -2577,7 +2577,7 @@ There is an interesting pattern in the numbers!"
:tests ["(= [#{\"\"} #{\"()\"} #{\"()()\" \"(())\"}] (map (fn [n] (__ n)) [0 1 2]))"
"(= #{\"((()))\" \"()()()\" \"()(())\" \"(())()\" \"(()())\"} (__ 3))"
"(= 16796 (count (__ 10)))"
"(= (nth (sort (filter #(.contains ^String % \"(()()()())\") (__ 9))) 6) \"(((()()()())(())))\")"
"(= (nth (sort (filter #(clojure.string/includes? % \"(()()()())\") (__ 9))) 6) \"(((()()()())(())))\")"
"(= (nth (sort (__ 12)) 5000) \"(((((()()()()()))))(()))\")"]
:difficulty "medium"
:tags ["math" "combinatorics"]}])

0 comments on commit c34250a

Please sign in to comment.