Skip to content

Commit 5c282e6

Browse files
committed
Add thoughts to readme
1 parent 79447bd commit 5c282e6

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

README.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# CodingBat Java Solutions
22

3-
My solutions to Coding Bat Java Problems.
3+
My solutions to Coding Bat Java Problems.
4+
5+
## Thoughts
6+
7+
- 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.
8+
- The string-1 section relies heavily on the substring method.
9+
- I had most difficulty with array 3.
10+
- I tackled AP-1 problems too late - AP-1 helps understanding some Array 2 & 3 problems easier.
11+
- 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.
12+
- Poor descriptions of problems in some places.
13+
- Actually, there is decent variety in solutions to these problems out there.
14+
- A lot of my solutions were approaches that first came to mind.
15+
- I did a lot of problems back to back at one time. I slowed down for the more difficulty categories and did a fair amount of research to help solve some problems.
16+
- I didn't bother making classes and having proper formatted java code.
417

518
## Useful Resources
619

@@ -16,4 +29,14 @@ My solutions to Coding Bat Java Problems.
1629
- [C Sharp Corner](https://www.c-sharpcorner.com/article/how-can-i-get-last-characters-of-a-string-in-java/#:~:text=If%20we%20want%20to%20get,charAt(11)%22) - get last characters of a string
1730
- [Baeldung](https://www.baeldung.com/java-string-split-multiple-delimiters) - split string with multiple delimiters
1831
- [Stack Overflow](https://stackoverflow.com/questions/4982210/find-the-max-of-3-numbers-in-java-with-different-data-types) - find the max of 3 in java with different data types
19-
- [Stack Overflow](https://stackoverflow.com/questions/17235719/determining-if-a-list-numbers-are-sequential) - determining if a list numbers are sequential
32+
- [Stack Overflow](https://stackoverflow.com/questions/17235719/determining-if-a-list-numbers-are-sequential) - determining if a list numbers are sequential
33+
- [YouTube](https://www.youtube.com/watch?v=ir_acNo6BSc) - How to Shift Elements in an Array (Java) - Modified CodingBat Question
34+
- [Geeks for Geeks](https://www.geeksforgeeks.org/split-array-two-equal-sum-subarrays/) - split array 2 equal sum subarrays
35+
- [Stack Overflow](https://stackoverflow.com/questions/4968323/java-parse-int-value-from-a-char) - java parse int value from a char
36+
- [Stack Overflow](https://stackoverflow.com/questions/7569335/reverse-a-string-in-java) - reverse a string
37+
- [Stack Overflow](https://stackoverflow.com/questions/8777982/issue-with-java-regex-b) - issue with java regex b
38+
- [Stack Overflow](https://stackoverflow.com/questions/29777696/fastest-way-to-sort-an-array-of-objects-in-java) - fastest way to sort an array of objects in java
39+
- [Tutorials Point](https://www.tutorialspoint.com/How-to-divide-an-array-into-half-in-java) - divide an array in half
40+
- [Stack Overflow](https://stackoverflow.com/questions/3389264/how-to-get-the-separate-digits-of-an-int-number) - separate digits of an int number
41+
- [Stack Overflow](https://stackoverflow.com/questions/37569841/getting-the-first-character-of-each-word-in-a-string-array-and-its-frequency) - getting first character of each word in string array and its frequency
42+
- [Stack Overflow](https://stackoverflow.com/questions/4150233/remove-null-value-from-string-array-in-java) - remove null value from string array

0 commit comments

Comments
 (0)