Infosys Interview Question

They basically check for your analytical and logical thinking