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

 

srp4379@lausd.net chapter10 > removeNumbers
prev  |  next  |  chance

public List<String> removeNumbers(List<String> list)

Given a list of Strings, remove all strings that start with a number. You can assume that every string in the list has at least one character.


removeNumbers(["0abc", "1def", "ghi", "jkl"]) → ["ghi", "jkl"]
removeNumbers(["a1", "b2", "c3", "9a", "1b"]) → ["a1", "b2", "c3"]
removeNumbers(["7a", "a8", "9m", "m0"]) → ["a8", "m0"]

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

public List<String> removeNumbers(List<String> list) { }

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: 10

Copyright Nick Parlante 2017 - privacy