Pergunta de entrevista da empresa Blinkit

Binary search-based question, medium level