C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,006 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I got the difference between queue and stack, but my question is do we really need stack in real life? Except computer algorithms, when LIFO will come handy?!
Nice question. Sure, think about driveway(LIFO) vs street(FIFO), put the items in the cabinet with one row (LIFO). ![49802-image.png][1] [1]: /api/attachments/49802-image.png?platform=QnA