You are viewing a single comment's thread. Return to all comments →
You can create array with extra cell, so the index and ids will be aligned, just need to make sure you start to iterate from index 1 and not 0.
Seems like cookies are disabled on this browser, please enable them to open this website
BFS: Shortest Reach in a Graph
You are viewing a single comment's thread. Return to all comments →
You can create array with extra cell, so the index and ids will be aligned, just need to make sure you start to iterate from index 1 and not 0.