in NP ladder problem how to use matrix exp if snakes are there on few steps. is it not cumpulsory to use recurssion then.
in NP ladder problem how to use matrix exp if snakes are there on few steps. is it not cumpulsory to use recurssion then.