1 votes 1 votes unable to understand raviyogi asked Jan 21, 2018 raviyogi 1.2k views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply mastershaikh commented Jan 21, 2018 reply Follow Share After applying Floyd-Warshall algo, i too got ans "A", ME solution might be wrong. 0 votes 0 votes rajatmyname commented Jan 18, 2019 reply Follow Share A-B distance is not visible. Can you please mention it? 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes the cost of reaching a node to itself is always 0.so in floyd warshall, all diagonal elements should be taken zero. crystal shadow answered May 11, 2020 crystal shadow comment Share Follow See all 0 reply Please log in or register to add a comment.