Retired

No Duplicates Here (retired)

217 of 500thegsi

Description:

Return the array/list passed into the function with all duplicates removed.

The items in the returned array should be sorted alphabetically, with numbers before strings.

The function should remove any null, undefined and invalid values from the array (in JS: all falsey values (NaN, false, undefined, null etc.) have to be removed). If the variable is not an array/list, the function should return a string “Not an array”.

Arrays
Fundamentals

More By Author:

Check out these other kata created by thegsi

Stats:

CreatedJun 30, 2015
Warriors Trained1520
Total Skips296
Total Code Submissions5136
Total Times Completed500
JavaScript Completions217
Ruby Completions61
Python Completions232
Total Stars28
% of votes with a positive feedback rating84% of 151
Total "Very Satisfied" Votes118
Total "Somewhat Satisfied" Votes18
Total "Not Satisfied" Votes15
Total Rank Assessments160
Average Assessed Rank
7 kyu
Highest Assessed Rank
1 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • thegsi Avatar
  • GiacomoSorbi Avatar
  • FArekkusu Avatar
Ad