id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

jebbert@volusia.k12.fl.us > June2_2016_APSL_removeDuplicates
prev  |  next  |  chance

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)

public int[] June2_2016_APSL_removeDuplicates(int[] nums) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 290

Copyright Nick Parlante 2017 - privacy