Skip to content

Commit

Permalink
Merge pull request 4clojure#262 from curious-attempt-bunny/remove_dup…
Browse files Browse the repository at this point in the history
…licate_problem

Remove duplicate of problem 4clojure#56.
  • Loading branch information
Alex McNamara committed Oct 12, 2015
2 parents 4406d28 + 34f6f1a commit 23f8ae2
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 23f8ae2

Please sign in to comment.