In the maze matrix, 0 means the block is a dead end and 1 means the block can be used in the path from source to destination. Note that this is a simple version of the typical Maze problem. For example, a more complex version can be that the rat can move in 4 directions and a ...
Rat in a Maze Problem - I - GFG Remove duplicates from an unsorted linked list - GFG Replace all 0's with 5 - GFG Selection Sort - GFG Smallest number on left - GFG Sort a stack - GFG Subarray with given sum - GFG ...
Height-of-a-binary-tree.cpp Insert-interval.cpp Josephus-Problem.cpp Linked-List-sum.cpp M-Coloring-problem.cpp Maximum-Sum-Combinations.cpp Non-repeating-char.cpp Nth-root-of-M.cpp Rat-Ina-Maze-Problem-I.cpp Rotated-string.cpp Toggle-k-bits.cpp Word-Break.cpp ...
* For example, "A man, a plan, a canal: Panama" is a palindrome. "race a car" * is not a palindrome. * * Note: Have you consider that the string might be empty? This is a good * question to ask during an interview. * * For the purpose of this problem, we define empty str...
Rat in a Maze.cpp Rat in a Maze Solution Nov 17, 2023 Shortest Tree Path.cpp Shortest Tree Path Nov 17, 2023 Snakes & Ladders Game.cpp Snakes & Ladders Game Solution Nov 14, 2023 Sorted Permutations.cpp Sorted Permutation type medium Nov 14, 2023 ...
N Queen Problem Rat in a Maze Sudoku Solver Binary Search Binary Search Lower Bound Upper Bound Using STL Questions 2 Power K Bitonic Array Count of Element in a Sorted Array Index of First 1 Infinite Min Diff Element Number of Times Sorted Array Rotated Painters Partition Problem ...
Rat in a Maze Problem - I - GFG Added solution - LeetHub Oct 17, 2022 Remove duplicates from an unsorted linked list - GFG Added solution - LeetHub Mar 22, 2022 Replace all 0's with 5 - GFG Added solution - LeetHub Mar 2, 2022 ...