|
why the simple bfs with pruning wont work , i am applying the simple bfs , if i reach the same state again , i will not explore it.
my state contain { int x, string } x correspond to chance and string correspond to current state .. I am getting output as truncated on test 3 and 4 , please help me to sort out . |