Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
How do you calculate paths to (2, 1)?
Consider the potential paths from left and below.
What happens at the leftmost column?
Think about the available directions at boundaries.
What is the formula to calculate Paths(i,j)?
Think about only possible movements on the grid.
True or False: A hole on a grid contributes to the total path count.
Reflect on how obstacles affect pathways.
Evaluate how many paths could exist for a grid of size 5x5 with holes at (2,2) and (3,3). Show your calculations.
Ensure that whenever a hole is reached, all paths leading into it are declared zero.
If a grid has a series of holes along one row, analyze how that impacts total path calculations if starting from a top-left corner to bottom-right corner.
Evaluate critical paths that must navigate around those holes!
6 more questions in this section. Enroll free to practise them all.
Enroll free