educative.io

How stocks transactions an example of inplace reversal?

To instructors,
(1) How is this an stock transaction an example of in-place reversal? What is being reversed? this looks like a FIFO queue but notes says that it is in-place reversal of linked list. How?

(2) I also did not get the connection between e-commerce use case given below and in-place reversal.


Course: https://www.educative.io/collection/10370001/5500262945128448
Lesson: https://www.educative.io/collection/page/10370001/5500262945128448/4567859011518464

1 Like

Hello @adityahpatel,

You’ve raised a valid point regarding the real-world problems for this pattern. We’re currently working on adding more context to the said content. The changes will be live soon.

Feel free to share further suggestions and feedback. We’d be happy to help. Thanks!

Happy learning!