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

 

norm.krumpe@muohio.edu program12 > isAbsent
prev  |  next  |  chance

Given an array of integers, and a value, return true if that value is not in the array, and false otherwise.


isAbsent([3, 7, 2], 2) → false
isAbsent([3, 7, 2], 10) → true
isAbsent([8, 8, 5, 1, 4], 8) → false

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

boolean isAbsent(int[] nums, int value) { }

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