Aire Logic interview question

Take home test Choice between 2 coding tests