Lime Interview Question

some behavior question and a round of coding