8 kyu
Remove duplicates from list
461 of 38,323wichu
Description:
Define a function that removes duplicates from an array of non negative numbers and returns it as a result.
The order of the sequence has to stay the same.
Examples:
Input -> Output
[1, 1, 2] -> [1, 2]
[1, 2, 1, 1, 3, 2] -> [1, 2, 3]
Fundamentals
Arrays
Lists
Similar Kata:
Stats:
Created | Aug 6, 2016 |
Published | Aug 6, 2016 |
Warriors Trained | 52554 |
Total Skips | 2090 |
Total Code Submissions | 111685 |
Total Times Completed | 38323 |
Haskell Completions | 461 |
Python Completions | 12063 |
F# Completions | 226 |
JavaScript Completions | 21849 |
C# Completions | 1793 |
C Completions | 461 |
Ruby Completions | 880 |
TypeScript Completions | 797 |
COBOL Completions | 4 |
Scala Completions | 65 |
Java Completions | 581 |
Total Stars | 374 |
% of votes with a positive feedback rating | 93% of 3224 |
Total "Very Satisfied" Votes | 2827 |
Total "Somewhat Satisfied" Votes | 332 |
Total "Not Satisfied" Votes | 65 |