If you are allowed to travel only along the given line, how many maximum states can you visit?
In the adjoining figure, the lines represent on-way roads allowing travel only northwards or only westwards. Along how many distinct routes can a car reach point B from point A?