InterviewBit Problems   Shortest Distance in a Maze : Solved