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

 

norm.krumpe@muohio.edu homework4 > removeAll
prev  |  next  |  chance

Given a value and an array, return a new array with all occurrences of that value removed.


removeAll(5, [3, 5, 5, 2]) → [3, 2]
removeAll(10, [10]) → []
removeAll(7, [5]) → [5]

...Save, Compile, Run (ctrl-enter)

int[] removeAll(int value, 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: 200

Copyright Nick Parlante 2017 - privacy