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

 

Functional-2 > noTeen
prev  |  next  |  chance

Given a list of integers, return a list of those numbers, omitting any that are between 13 and 19 inclusive.


noTeen([12, 13, 19, 20]) → [12, 20]
noTeen([1, 14, 1]) → [1, 1]
noTeen([15]) → []

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

public List<Integer> noTeen(List<Integer> 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: 203 Post-solution available

Copyright Nick Parlante 2017 - privacy