LogicNext interview question

Almost all questions are average.