Skip to content

Commit

Permalink
Remove duplicate problem 4clojure#56.
Browse files Browse the repository at this point in the history
  • Loading branch information
curious-attempt-bunny committed Sep 3, 2014
1 parent d19cdcf commit 34f6f1a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/foreclojure/data_set.clj
Expand Up @@ -619,18 +619,6 @@
"(= (__ [:b :a :b :a :b]) {:a 2, :b 3})"
"(= (__ '([1 2] [1 3] [1 3])) {[1 2] 1, [1 3] 2})"]})

(insert! :problems
{:_id 56
:title "Find Distinct Items"
:times-solved 0
:restricted ["distinct"]
:description "Write a function which removes the duplicates from a sequence. Order of the items must be maintained."
:tags ["medium" "seqs" "core-functions"]
:approved true
:tests ["(= (__ [1 2 1 3 1 2 4]) [1 2 3 4])"
"(= (__ [:a :a :b :b :c :c]) [:a :b :c])"
"(= (__ '([2 4] [1 2] [1 3] [1 3])) '([2 4] [1 2] [1 3]))"]})

(insert! :problems
{:_id 56
:title "Find Distinct Items"
Expand Down

0 comments on commit 34f6f1a

Please sign in to comment.