Hi,
I’ve doubt in floyd algo that i’ve written two functions to for the same algo one is better than the other. Optimised named function is better than Unoptimised named function. But the correct ans which I’m getting is through unoptimised one not the optimised one. So can u pls go through my code and tell me where logic is wrong.
Link: https://ide.codingblocks.com/s/678437
Thanks