Intuit interview question

Java fundamentals and leetcode medium questions