ABC interview question

initial round in the process