Code Challenge: Python Graph Algorithm
A graph is an important data structure used in various technologies such as navigation systems, databases, etc. For this code challenge, 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:
We have made available these extra resources to improve your Python coding skills:
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!