Levrx interview question

Basic programming questions.