Earl Nightingale said many years ago that one hour per day of study in your chosen field was all it takes. 1 hour a day for 3 years can make you an expert at any craft. 1 hr a day for 5 years could make you one of the best in the industry! The trick is you have to work on it every single day! Below are 3 problems you need to work on. Each puzzle is numbered from 1- 5 in terms of difficulty. 5 Being the most difficult, and 1 being easy peesy! If you’re new to solving these, take your time and don’t just jump to the solutions. Work on these and struggle with them to make the most of your time and add valuable milage to your coding experience!

Puzzle name: Good Numbers
Difficulty level: 2
Both numbers are considered good if one is less than 0 and the other is greater than 110. Return true if the numbers are good numbers else return false. Below is the method definition to get you started.

public boolean goodNumbers(int num1, int num2) {
}


Puzzle name: Three Up
Difficulty Level: 2
Given a string, return a new string where the last 3 chars are now in upper case. If the string has less than 3 chars, uppercase whatever is there. Note that str.toUpperCase() returns the uppercase version of a string. Below is the method definition to get you started.

public String threeUp(String str) {
}


Puzzle name: Expanding Chars
Difficulty Level: 3.5

Given a string like “Hello” return a string like “HHeHelHellHello”. Notice the pattern of the output. Below is the method definition to get you started.


public String expandChars(String str) {
}