logical interview questions and answers in relation