Airbus interview question

Chess grid probability problems and Array sorting.