forgot password | create account
Or use
about | help | code help+videos | done | prefs
CodingBat code practice


Array-1 chance

Basic array problems -- no loops.. Use a[0], a[1], ... to access elements in an array, a.length is the length (note that s.length() is for Strings). Allocate a new array like this: int[] a = new int[10]; // length 10 array
See the Java Arrays and Loops Help document for help.

 firstLast6 H  sameFirstLast H  makePi
 commonEnd sum3 rotateLeft3
 reverse3 maxEnd3 sum2
 middleWay makeEnds has23
 no23 makeLast double23
 fix23 start1 biggerTwo
 makeMiddle plusTwo swapEnds
 midThree maxTriple frontPiece
 unlucky1 make2 front11

Java Help

Misc Code Practice

Copyright Nick Parlante 2016 - privacy