About 477,000 results
Open links in new tab
  1. Simple 'Make chocolate' logic and solution review

    Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers; Advertising Reach devs & technologists worldwide about your product, service or …

  2. How to tackle the Codingbat String-2 oneTwo challenge?

    Here is the problem statement: Given a string, compute a new string by moving the first char to come after the next two chars, so "abc" yields "bca". Repeat this process for each subsequent …

  3. CodingBat - Java - Array1 - firstLast6 - Stack Overflow

    May 30, 2022 · I hope all is well. I've recently solved an algorithm in Coding Bat (Java - Array1 - firstLast6): Problem *Given an array of ints, return true if 6 appears as either the first or last …

  4. java - catDog string problem at Codingbat.com - Stack Overflow

    Mar 30, 2010 · (Update: after seeing the test data used at CodingBat, I can tell that this is not the case.) After implementing fix #1, #2 and #3 as well as suggestion #1, I have made a test run …

  5. Array-1 CodingBat unlucky1 (java) Challenge - Stack Overflow

    Based on my code, I can’t quite figure out why this is happening. The following attached code (below) is what I have created as a solution to the CodingBat problem for unlucky1 in Array-1 …

  6. Solution of twoTwo riddle on codingBat in Java - Stack Overflow

    Jun 1, 2014 · The question is about Solving this problem from codingBat in Java. Problem Statement: Given an array of ints, return true if every 2 that appears in the array is next to …

  7. My code passes all of the given tests for CodingBat but doesn't …

    Jan 22, 2019 · I'm working on CodingBat for class and can't figure out why my code isn't working. It passes all of the tests that it lists out but then doesn't pass the "other tests". If you could help …

  8. codingbat-like site for C++ - Stack Overflow

    Aug 14, 2013 · Guys, I need to find a good site like codingbat to "learn again" C++. I learned it at school but then I've never used it seriously. I'm not looking for something like Project Euler …

  9. java - CodingBat : LoneSum optimization - Stack Overflow

    I have completed this exercise on codingbat successfully, but I want to know is there a better/faster or more elegant solution? Given 3 int values, a b c, returns their sum. However, if …

  10. Solving CodingBat brick making puzzle in Python

    I'm completing this CodingBat problem: 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 …

Refresh