Flipkart Interview Question

it was graph and binary related