Tiny Interview: Python Graph Algorithm
A graph is an important data structure used in various technologies such as navigation systems, databases, etc. For this tiny interview, a path search is attempted using a graph algorithm. However, the algorithm seems to be incorrect. Can you fix it? Give it a try in the sandbox below:
Want to conduct interviews on this platform?
Check out CoderPad : pick any interview question or create your own, then invite your candidate to a shared live-coding session on an IDE like this one. You even get 2 free interviews per month forever using this registration link!