Monk and the Islands - Hackerearth Problem Solution Using Python
Here , To solve this problem we have use the BFS algorithm using python in which we just add a "dist" list in which we store distance of every node from its parent node.
For the Problem goto below link and search for problem:
Monk and Islands
No comments:
Post a Comment