PharmEasy Interview Question

Binary search algorithm, bfs and dfs