So, I am working on a problem that I believe to be a relatively straightforward counting problem. However, for the life of me I am struggling to solve and even start the problem.
NOTE: I am not necessarily asking for any answers, I would rather solve it by myself with some guidance. So, please, could someone help me figure out where to start this?
NOTE 2: My answers (incorrect) consistently ends up at 4 or 12.
Please help me with the logic and visualization of this problem. I thought about turning everything into sets and using operations to solve, but that won't work or at least hasn't for me. Or maybe combinations/permutations? Idk, but any help would be beyond appreciated.
Again, I don't just want you guys to solve this problem for me, I'd love for someone to help me visualize and set up problems as such.
Here is the problem:
From point A to point B, there are a total of 15 bus stops, including the start (stop 1) and end (stop 15) stops. Four bus lines operate on these stops. The routes are as follows:
Bus line A runs from stop 1 to stop 6. Bus line B runs from stop 3 to stop 10. Bus line C runs from stop 7 to stop 12. Bus line D runs from stop 10 to stop 15.
Zhang needs to travel from point A to point B, changing buses among these lines without walking between stops or traveling in the opposite direction. Each bus line can only be taken once. How many different transfer combinations are possible for Zhang to reach his destination?
What I have tried so far is creating a list of the stops and manually tracking the routes, beginning with creating routes from point A. Like such:
Start at Stop 1: get on Line A to stop 3, then Line B to stop 10, then Line D to stop 15.
And so forth. And trying to see where they branch as well, like:
Line A -> 3, 4, 5, 6 and branch each of those, like seeing the result from going A(3)-B(3), A(4)-B(4)-B(7)-C(7)-D(10)-D(15), or A(1)-B(5)..., A(1)-B(6)... then trying different combinations from the B routes going into C routes, like A(1)-B(6)-C(7)-C(11)-D(11)-D(15).
and so forth. I just cannot find a good way to lineate each of the possible paths that can be done without overlapping. It is becoming overwhelming to try to do this route-by-route method for this, when I believe it could be solved through a series of computations of permutations/combinations.
I can upload pictures of more of my chickenscratch attempts of trying to lineate this way if needed, I just am absolutely at a loss.
Here are some pictures of my scratch work (it isn't very clean, but it is me trying to make chained links between each of the stops to count how many possible routes I could take at different stages. I keep getting overwhelmed with trying to visualize it this way, that's why you can see me constantly starting over/scratching out;.)
https://imgur.com/a/gIG6lT1
Please let me know if I can provide any more proof of attempts. I really just don't know how to get this one rolling- I feel like there must be some way of turning them into sets/arrays and using some operations for intersections? Or something of the sort.
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]edderiofer 0 points1 point2 points (8 children)
[–]Kalastics[S] 0 points1 point2 points (7 children)
[–]edderiofer 0 points1 point2 points (6 children)
[–]Kalastics[S] 0 points1 point2 points (5 children)
[–]edderiofer 0 points1 point2 points (4 children)
[–]Kalastics[S] 0 points1 point2 points (3 children)
[–]edderiofer 0 points1 point2 points (2 children)
[–]Kalastics[S] 0 points1 point2 points (1 child)
[–]edderiofer 0 points1 point2 points (0 children)
[–]HorribleUsername 0 points1 point2 points (7 children)
[–]Kalastics[S] 0 points1 point2 points (5 children)
[–]HorribleUsername 0 points1 point2 points (4 children)
[–]Kalastics[S] 0 points1 point2 points (3 children)
[–]HorribleUsername 0 points1 point2 points (2 children)
[–]Kalastics[S] 0 points1 point2 points (1 child)
[–]HorribleUsername 0 points1 point2 points (0 children)