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

 

Functional-2 > square56
prev  |  next  |  chance

Given a list of integers, return a list of those numbers squared and the product added to 10, omitting any of the resulting numbers that end in 5 or 6.


square56([3, 1, 4]) → [19, 11]
square56([1]) → [11]
square56([2]) → [14]

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

public List<Integer> square56(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: 226

Copyright Nick Parlante 2017 - privacy