From f5f7fad2d10963858583185d0e924d05917ef757 Mon Sep 17 00:00:00 2001 From: Jeroen van Dijk <27645+jeroenvandijk@users.noreply.github.com> Date: Tue, 12 Mar 2024 13:29:30 +0200 Subject: [PATCH] Use clojure.string/includes? instead of Java interop --- src/app/data.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/data.cljc b/src/app/data.cljc index 2774214..d2e2a5b 100644 --- a/src/app/data.cljc +++ b/src/app/data.cljc @@ -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"]}])