you all probably dont care at all but does anyone know a tool to log back into an instagram account..? I was stupid forgot my password. I appreciate any help you can offer me.
@Dangelo Dario thanks for your reply. I got to the site thru google and Im in the hacking process now. Takes quite some time so I will reply here later with my results.
Great video! I watched your other one on Bellman Ford and was hoping you did one on Floyd Warshall too. You did! Thanks a bunch. These videos are helping me a lot during finals week.
Amazing video, I have a question, for detcting a nagative cycle, can't we just check the diagonal of the last dp to see if there is a negative number (instead of 0)?
for (int interm = 0; interm < v; interm++) { for (int from = 0; from < v; from++) { for (int to = 0; to < v; to++) { if (dist[from][interm] + dist[interm][to] < dist[from][to]) { dist[from][to] = dist[from][interm] + dist[interm][to]; } } I think it would be easier to understand like this. At worst using f/t for from/to. k, i, j might be a convention and tradition for teaching PHDs but it makes no sense. This way someone can immediately tell
Hi, William! I have a small question for the code at 15:10. Why do we check if(next[at][end]==-1) after the for loop again? Is this only relevant in the case when start==end and it's a self negative cycle?
11:14 Im struggling a bit to understand whydo we assign next[i][j] = next[i][k]. In freecodecamp video (2:27:00) William said that it's because i->k is now smaller, but I don't fully get why is that the reason.