Secound round (Coding):
Solved it using 2 pointers & hashmap
M=5, N=6 ---- 30
Snake: 7->4, 16->2, 29 -> 11
Ladder: 3->19, 22->28
Answer: 3
solved it using graphs traversal,
where edges would be :
all snakes
all ladders
and for each cell there is an edge to each of next 6 cells.
we need to find the minimum shortest path between edge to node 1 to node M*N.
Third roud (LLD) : Design Logger.