Open
Description
The "secret Extra Challenge" in Lesson C-1 is made extra challenging by the fact that the problem is stated in terms of Queue 1, while the solution is all about Queue 2.
Regardless, I'm confused by the solution: .getPassengers() is called as though it has already finished processing the queue, but isn't this processing done item-by-item? How can .getPassengers() already have the final answer as to who is on the elevator?
Another thing I'm not clear on: simply re-using an Observable like these Queues seems to reset them to start over at the beginning. Can you discuss and clarify?
Thanks for making this—it's an enjoyable way to learn. I have frankly been having some trouble wrapping my mind around the whole Rx concept.
Metadata
Metadata
Assignees
Labels
No labels