Given a snake ladder board, we have to find the minimum distance of the last vertex from the 0th vertex. ( at 0th vertex we throw the dice and move ahead)
Read about the