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

 

james.shockey@austinisd.org lasa_drills_01 > LASA_sameClass
prev  |  next  |  chance

To Ms. Thompson's dismay, Blend shut down, jumbling the class rosters and forcing her to manually enter the students back into classes. Each class has an array of strings for student names, and Ms. Thompson needs your help checking if she has entered a class roster more than once. Given two string arrays of two classes, return true if both arrays are equal.


LASA_sameClass(["Billy", "Bob", "Joe"], ["Billy", "Bob", "Joe"]) → true
LASA_sameClass(["Billy", "Bob"], ["Billy", "Bob", "Joe"]) → false
LASA_sameClass(["Billy", "Bob", "Joe"], ["Billy", "Bob", "Sally"]) → false

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

public boolean LASA_sameClass(String[] class1, String[] class2) { }

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

Copyright Nick Parlante 2017 - privacy