I noted in the usage of INF as below in prims algorithm implementation.
define INF 0x3f3f3f3f
Just wondering on why 0x3f3f3f3f number is selected for INF. Can we select INT_MAX instead?
I noted in the usage of INF as below in prims algorithm implementation.
Just wondering on why 0x3f3f3f3f number is selected for INF. Can we select INT_MAX instead?