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

 

crehwinkel@frhsd.com arrays2 > sameArrays
prev  |  next  |  chance

Given two arrays, each of length 2, return true if the contents of the two arrays are identical. Otherwise return false.


sameArrays([5, 6], [5, 6]) → true
sameArrays([2, 3], [3, 2]) → false
sameArrays([5, 5], [3, 3]) → false

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

public boolean sameArrays( int [] a, int [] b ){ }

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

Copyright Nick Parlante 2017 - privacy