472,777 Members | 2,898 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,777 software developers and data experts.

Applications of stacks/queues/trees/heap/BST

Ice
Hi there,

I'm not sure if this is the right group for this- If it isn't, could
anyone point me in the right direction?

For our data structures exam, we are usually asked to implement the
structures we've studied (ofcourse in c++). For e.g. implementations of
a stack could be paranthesis matching/evaluating polish notation etc.

Can anyone suggest implementations/usage of the above mentioned data
structures?

Jul 22 '05 #1
4 3165
Look at this link for a binary tree
http://cslibrary.stanford.edu/

Maybe in STL for stacks and queues...

But get a good book ... It is worth it...

"Ice" <am****@gmail.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
Hi there,

I'm not sure if this is the right group for this- If it isn't, could
anyone point me in the right direction?

For our data structures exam, we are usually asked to implement the
structures we've studied (ofcourse in c++). For e.g. implementations of
a stack could be paranthesis matching/evaluating polish notation etc.

Can anyone suggest implementations/usage of the above mentioned data
structures?

Jul 22 '05 #2
Ice
Hey,

Thanks.. I have studied the mentioned data structures and i have a
couple of good books on structures. What I am looking for are possible
implementations we might be asked to do on the exams, so i could get
some practice.

Rgds.

Jul 22 '05 #3
Ice
I just realized that instead of saying implementations i should've said
applications.. sorry.

Jul 22 '05 #4
Ice
oops.. I just realized that instead of saying implementations i should
i have said 'we are asked to apply these structures in various ways'.

Jul 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: aaronwmail-usenet | last post by:
I've been wondering about benchmarks recently. What is a fair benchmark? How should benchmarks be vetted or judged? I decided to see what you folks thought, so for discussion I compared two...
7
by: Peter Tkacz | last post by:
Are there any data types within STL that implement a balanced tree? Peter
6
by: Der Andere | last post by:
Are priority queues implemented in the STL in Visual Studio 6? If no, which is the easiest way to simulate them? Multisets? BTW: The container contains pointers to instances of a class. The...
1
by: Der Andere | last post by:
I posted this reaction in a thread quite far below so I fear people won't read it. I got stuck now for quite a while and just don't know what to try else. Thanks, Matthias > > Are priority...
8
by: [diegueus9] Diego Andrés Sanabria | last post by:
Hello!!! I want know if python have binary trees and more?
6
by: Sathyaish | last post by:
I've searched Google and found a few, but I am not so satisfied. Any good reading on "stacks and heaps" about how and when memory is allocated from the heap?
17
by: Frank Rizzo | last post by:
Hello, doing some profiling work and trying to resolve the memory usage balooning through the roof. Just want to make sure that my reasoning is correct. My question is as follows: Let's say I...
1
by: romel | last post by:
Hi to all evryone? Anyone can help me regarding the program that i have?...i got problems about our topic that all about the QUEUE & STACKS.... I am begging you all that send...
11
mia023
by: mia023 | last post by:
Hello everyone. Assume that we have previously defined the following class StockPurchase that has the following as instance variables a) The name of the stock (a string) b) The number of...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.