Java Help Java Example Solution Code Java String Introduction(video) Java Substring v2(video) Java String Equals and Loops Java String indexOf and Parsing Java If and Boolean Logic If Boolean Logic Example Solution Code 1(video) If Boolean Logic Example Solution Code 2(video) ...
Java Python Warmup-1 Simple warmup problems to get started (solutions available) Warmup-2 Medium warmup string/array loops (solutions available) String-1 Basic string problems -- no loops Array-1 Basic array problems -- no loops. Logic-1 Basic boolean logic puzzles -- if else && || !
Java PythonLogic-1 > dateFashion prev | next | chance You and your date are trying to get a table at a restaurant. The parameter "you" is the stylishness of your clothes, in the range 0..10, and "date" is the stylishness of your date's clothes. The result getting the table is...
README.md Functional Solutions Apr 7, 2017 Repository files navigation README CodingBat CodingBat Java Solutions String 1, 2 and 3 Array 1, 2 and 3 Logic 1 and 2 AP 1 Recursion 1 and 2 Map 1 and 2 Functional 1 and 2About CodingBat Java Solutions Topics codingbat Resources Readme Ac...
The first exercise was added to Warmup-1, the others to Logic-1. All solutions were successfully tested on 28 March 2013. or35: 1 2 3 publicbooleanor35(intn) { returnn %3==0|| n %5==0; } more20: 1 2 3 publicbooleanmore20(intn) { ...
Code Issues Pull requests java solutions codingbat warmup-1 warmup-2 string-1 array-1 logic-1 logic-2 string-2 string-3 array-2 array-3 ap-1 recursion-1 map-1 map-2 Updated Apr 2, 2017 Java BlesslinJerishR / Batzyon Star 10 Code Issues Pull requests Codingbat in the Pythonic...
We want to make a row of bricks that is goal inches long. We have a number of small bricks (1 inch each) and big bricks (5 inches each). Return true if it is possible to make the goal by choosing from the given bricks. This is a little harder than it looks and can be done ...
This entry was posted inCodingBat: JavaonMarch 3, 2013. Louis N.August 13, 2013 at 3:01 am Firstly, I’d like to thank you for taking the time to create meaningful solutions to the CodingBat exercises. My comment here is actually in response to your solution for the exercise “haveThre...
Java PythonLogic-1 > sumLimit prev | next | chance Given 2 non-negative ints, a and b, return their sum, so long as the sum has the same number of digits as a. If the sum has more digits than a, just return a without b. (Note: one way to compute the number of digits of ...