John Deere interview question

STAR and leetcode problems.