Retired
The Red Herring (retired)
29ransy
Description:
Lets go fishing!
Given an array of items, fish the odd one out!
fish([1,1,1,"red herring",1]) //should return "red herring"
fish(["red herring","red herring","red herring"]) //should return "no catch"
fish(["red herring","blue herring","yellow herring"]) //should return "no catch"
fish([1,2,1,2]) //should return "no catch"
Fundamentals
Puzzles
Data Structures
Similar Kata:
Stats:
Created | May 30, 2015 |
Warriors Trained | 229 |
Total Skips | 43 |
Total Code Submissions | 618 |
Total Times Completed | 29 |
JavaScript Completions | 29 |
Total Stars | 4 |
% of votes with a positive feedback rating | 69% of 21 |
Total "Very Satisfied" Votes | 11 |
Total "Somewhat Satisfied" Votes | 7 |
Total "Not Satisfied" Votes | 3 |
Total Rank Assessments | 17 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 2 kyu |
Lowest Assessed Rank | 8 kyu |