About 66 results
Open links in new tab
  1. java - CodingBat-- coding recursively - Stack Overflow

    I am trying the coding bat problem repeatFront: Given a string and an int n, return a string made of the first n characters of the string, followed by the first n-1 characters of the stri...

  2. Simple 'Make chocolate' logic and solution review - Stack Overflow

    While this code may provide a solution to OP's problem, it is highly recommended that you provide additional context regarding why and/or how this code answers the question. Code only answers …

  3. CodingBat Python - List 2 sum(67) - Stack Overflow

    Aug 13, 2019 · CodingBat Python - List 2 sum (67) Asked 6 years, 8 months ago Modified 3 years, 8 months ago Viewed 7k times

  4. 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 one of the

  5. 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 element …

  6. 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 because it focus...

  7. CodingBat sum67: why is this solution wrong? - Stack Overflow

    Dec 5, 2011 · I totally know this is not the best solution, but I'm just curious to know why this is wrong. Could you please explain me why this is wrong and in which particular case it gives a wrong result?

  8. 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 group...

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

    Mar 30, 2010 · catDog string problem at Codingbat.com Asked 16 years ago Modified 11 months ago Viewed 15k times

  10. java - Codingbat plusOut - StringBuffer Trouble - Stack Overflow

    Feb 25, 2015 · Codingbat plusOut - StringBuffer Trouble Asked 11 years, 1 month ago Modified 3 years, 11 months ago Viewed 6k times