- Question on Graphs
Shortest Distance From Source to Destination Variant .
- Used Dijkstra's Algorithm and completed the solution. But in the end I got to know from the interviewer that she was expecting optimized solution using BFS.
(Haven't got any hint from the interviewer)
Depressed. Solved the question But Still couldn't qualify.