IMC Trading interview question

Basic logic based and pattern questions.