6 kyu
Duplicate Arguments
3,037 of 4,428lunitik
Description:
Complete the solution so that it returns true if it contains any duplicate argument values. Any number of arguments may be passed into the function.
The array values passed in will only be strings or numbers. The only valid return values are true
and false
.
Examples:
solution(1, 2, 3) --> false
solution(1, 2, 3, 2) --> true
solution('1', '2', '3', '2') --> true
Algorithms
Similar Kata:
Stats:
Created | Aug 16, 2013 |
Published | Aug 16, 2013 |
Warriors Trained | 5827 |
Total Skips | 200 |
Total Code Submissions | 16502 |
Total Times Completed | 4428 |
JavaScript Completions | 3037 |
CoffeeScript Completions | 111 |
Ruby Completions | 176 |
Python Completions | 1167 |
Haskell Completions | 23 |
λ Calculus Completions | 7 |
Total Stars | 52 |
% of votes with a positive feedback rating | 92% of 594 |
Total "Very Satisfied" Votes | 506 |
Total "Somewhat Satisfied" Votes | 76 |
Total "Not Satisfied" Votes | 12 |