Anduril interview question

debug a sample program with several bugs