My solutions to Coding Bat Java Problems.
- Recommended order to tackle problems - start with Map & Functional (Mostly self-contained with little relevance to other problems),Logic 1, String 1, Logic 2, Array 1, Warmup 1 and 2, String 2, AP-1, Recursion 1, Recursion 2, String 3, Array 2, and Array 3.
- The string-1 section relies too heavily on the substring method.
- I had most difficulty with array 3.
- I tackled AP-1 problems too late - AP-1 helps understanding some Array 2 & 3 problems easier.
- I wasn't going to bother with the warmup problems (since they give you solutions) but they actually help you solve some of the more difficult problems in the higher categories.
- A lot of my solutions were approaches that first came to mind.
- I did a lot of problems back to back at one time. I slowed down for the more difficult categories and did a fair amount of research to help solve some problems.
- There are poor directions for some problems.
- There is a decent variety of solutions to these problems out there.
- I didn't bother making classes and having proper formatted java code.
- Baeldung - java string interpolation
- Stack Overflow - finding the max min value in an arrray of primitives using java
- Stack Overflow - counting occurrences of a key in a map in java
- Stack Overflow - converting arraylist integer into int
- Educative - how to left shift k elements of an array
- Stack Overflow - java break statement not working
- Stack Overflow - most efficient way to find smallest of 3 numbers
- Baeldung - java count chars
- Stack Overflow - how to remove single character from a string by index
- C Sharp Corner - get last characters of a string
- Baeldung - split string with multiple delimiters
- Stack Overflow - find the max of 3 in java with different data types
- Stack Overflow - determining if a list numbers are sequential
- YouTube - How to Shift Elements in an Array (Java) - Modified CodingBat Question
- Geeks for Geeks - split array 2 equal sum subarrays
- Stack Overflow - java parse int value from a char
- Stack Overflow - reverse a string
- Stack Overflow - issue with java regex b
- Stack Overflow - fastest way to sort an array of objects in java
- Tutorials Point - divide an array in half
- Stack Overflow - separate digits of an int number
- Stack Overflow - getting first character of each word in string array and its frequency
- Stack Overflow - remove null value from string array