vectordist(n+1,INT_MAX)
ifvr making vector of vector thn in paranthesis of dist size should hav came…how can v pass 2 values in it
Balmen ford algo
hello @ayu2321
second argument is the value with which we want to initialise our vector.
here all value will get initialise to INT_MAX
but for initialializing all values with INT_MAX we should have iterated over them??
ya u can do that as well,
that will not create any difference.