Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6954299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:35:18+00:00 2026-05-27T14:35:18+00:00

I keep reading and reading about stacks but still I do not know how

  • 0

I keep reading and reading about stacks but still I do not know how to use it in real world programming! I know it is a LIFO Data Structure but how can I benefit from this? I know the POP and PUSH functions, but so what?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T14:35:19+00:00Added an answer on May 27, 2026 at 2:35 pm

    Here are some places where a stack can be useful: Any time you need to parse a string that uses parentheses for grouping, you need a stack. If you need to traverse a tree depth-first ­- for example, to convert an internal representation of an XML file to an XML file, or to compute the value of an expression that has been given by the user – you need a stack. Of course, in most such situations, you can avoid using it explicitly by using recursion (behind the scenes, the compiler uses a stack to implement it), but then you risk an implicit stack overflow that you can’t guard against.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I keep reading about C99 and C++11 and all these totally sweet things that
I keep reading about people who are test infected, meaning that they don't just
I keep reading about how great this new Canvas element for HTML5 is and
You'd think it would be easy, but keep reading. I can change many of
I mostly use Java and generics are relatively new. I keep reading that Java
I keep reading about defficiencies and issues with languages. Specifically, I'm learning PHP and
This is mostly curiosity, but I've been reading about the history of Visual Studio
I keep reading about how biased locking, using the flag -XX:+UseBiasedLocking , can improve
I keep reading about the importance of vectorized functionality so hopefully someone can help
One of the benefits of ASP.NET MVC I keep reading about is that it's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.