about | help | code help+videos | done | prefs |
Write a method that returns an array of integers with all of the duplicates removed. Keep the array in the same order as the original input parameter array. June2_2016_APSL_removeDuplicates([5, 7, 3, 4, 7, 4, 1, 2]) → [5, 7, 3, 4, 1, 2] June2_2016_APSL_removeDuplicates([4, 4, 4, 4, 4, 4, 4, 4]) → [4] June2_2016_APSL_removeDuplicates([421, 643, 352]) → [421, 643, 352] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 290
Copyright Nick Parlante 2017 - privacy