CitiusTech interview question

Algorithms and IQ