ABC interview question

Logical questions will be asked