Intuit interview question

Java home task for home