473,657 Members | 2,538 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Datastructures

cj
Hello, can you please help me find information or can you please explain in
this newsgroup the differences about various datastructures (in terms of
efficiency, best applications, best implementations , etc.), such as trees,
hashtables, linked lists, etc.

Thank you.
C++J
Jul 22 '05 #1
10 1671
cj wrote:

Hello, can you please help me find information or can you please explain in
this newsgroup the differences about various datastructures (in terms of
efficiency, best applications, best implementations , etc.), such as trees,
hashtables, linked lists, etc.


There have entire books been written on this topic.
Don't expect someone to retype all that is written
in this books.
http://www.google.com
Search phrase: "data structures C++"

-> thousends of links. Choose some of them

--
Karl Heinz Buchegger
kb******@gascad .at
Jul 22 '05 #2

"cj" <cj@yahoo.com > wrote in message
news:86******** *************** *******@news.te ranews.com...
Hello, can you please help me find information or can you please explain in this newsgroup the differences about various datastructures (in terms of
efficiency, best applications, best implementations , etc.), such as trees,
hashtables, linked lists, etc.

Thank you.
C++J


You'll have better luck in

alt.comp.do.my. homework

Jul 22 '05 #3
cj
Karl, I wasn't looking for a text from a book, but rather for a digest of
main points, sort of "table of comparison".
Thank you,

C++J
"Karl Heinz Buchegger" <kb******@gasca d.at> wrote in message
news:40******** *******@gascad. at...
cj wrote:

Hello, can you please help me find information or can you please explain in this newsgroup the differences about various datastructures (in terms of
efficiency, best applications, best implementations , etc.), such as trees, hashtables, linked lists, etc.


There have entire books been written on this topic.
Don't expect someone to retype all that is written
in this books.
http://www.google.com
Search phrase: "data structures C++"

-> thousends of links. Choose some of them

--
Karl Heinz Buchegger
kb******@gascad .at

Jul 22 '05 #4
cj wrote:

Karl, I wasn't looking for a text from a book, but rather for a digest of
main points, sort of "table of comparison".


What is hindering you?
Open your textbook on data structures (or lend one from the
local library) and do that table.

--
Karl Heinz Buchegger
kb******@gascad .at
Jul 22 '05 #5
cj wrote:
Hello, can you please help me find information or can you please explain in
this newsgroup the differences about various datastructures (in terms of
efficiency, best applications, best implementations , etc.), such as trees,
hashtables, linked lists, etc.

Thank you.
C++J


Most data structures are language independent, and best discussed
in news:comp.progr amming. A good book on data structures will contain
the information you seek. Nobody should reinvent the wheel nor should
anybody post here what you can find in many text books.

Try these:
The Art Of Computer Programming Donald Knuth
Algorithms + Data Structures = Programs Niklaus Wirth
The Standard C++ Library Josuttis
Design Patterns Gamma, Helm Johns, Vlissides

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.l earn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 22 '05 #6
cj
Thank you, Karl. I will certainly do that as well.
Just wanted to get some input from skilled people as well.
"Karl Heinz Buchegger" <kb******@gasca d.at> wrote in message
news:40******** *******@gascad. at...
cj wrote:

Karl, I wasn't looking for a text from a book, but rather for a digest of main points, sort of "table of comparison".


What is hindering you?
Open your textbook on data structures (or lend one from the
local library) and do that table.

--
Karl Heinz Buchegger
kb******@gascad .at

Jul 22 '05 #7
cj
Thank you, Tom.

"Thomas Matthews" <Th************ *************** *@sbcglobal.net > wrote in
message news:45******** *********@newss vr32.news.prodi gy.com...
cj wrote:
Hello, can you please help me find information or can you please explain in this newsgroup the differences about various datastructures (in terms of
efficiency, best applications, best implementations , etc.), such as trees, hashtables, linked lists, etc.

Thank you.
C++J


Most data structures are language independent, and best discussed
in news:comp.progr amming. A good book on data structures will contain
the information you seek. Nobody should reinvent the wheel nor should
anybody post here what you can find in many text books.

Try these:
The Art Of Computer Programming Donald Knuth
Algorithms + Data Structures = Programs Niklaus Wirth
The Standard C++ Library Josuttis
Design Patterns Gamma, Helm Johns, Vlissides

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.l earn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 22 '05 #8
Thomas Matthews wrote:

cj wrote:
Hello, can you please help me find information or can you please explain in
this newsgroup the differences about various datastructures (in terms of
efficiency, best applications, best implementations , etc.), such as trees,
hashtables, linked lists, etc.

Thank you.
C++J


Most data structures are language independent, and best discussed
in news:comp.progr amming. A good book on data structures will contain
the information you seek. Nobody should reinvent the wheel nor should
anybody post here what you can find in many text books.

Try these:
The Art Of Computer Programming Donald Knuth
Algorithms + Data Structures = Programs Niklaus Wirth
The Standard C++ Library Josuttis
Design Patterns Gamma, Helm Johns, Vlissides


Algorithms R. Sedgewick

--
Karl Heinz Buchegger
kb******@gascad .at
Jul 22 '05 #9
cj wrote:
"Karl Heinz Buchegger" <kb******@gasca d.at> wrote in message
news:40******** *******@gascad. at...
cj wrote:
Karl, I wasn't looking for a text from a book, but rather for a digest
of
main points, sort of "table of comparison".


What is hindering you?
Open your textbook on data structures (or lend one from the
local library) and do that table.

--
Karl Heinz Buchegger
kb******@gasc ad.at


Thank you, Karl. I will certainly do that as well.
Just wanted to get some input from skilled people as well.

1. Don't top-post, rearranged.
Replies are appended to the bottom or interspersed throughout
the reply.

2. Good quality books on data structures will have a table
of comparison, stating what the structure is used for and
how it relates to close siblings. For example, a linked
list, array, stack and vector are all containers and close
siblings. Each is more efficient than the others at specific
tasks. However, sets, maps, associative arrays, and trees
are different than the above and should not be compared with
them.

3. When referring to data types, please do not abbreviate. Some
posters use BST for Binary Search Tree, and my personal peeve,
"ADT" for abstract data type.

Here are a few names of common data structures:
container, collection, sequence, singly linked list, doubly linked
list, table, hash table, vector, array, map, set, bag, skip list,
binary tree, b-tree, trie, tree, avl tree, red/black tree,
graph, edge list, bucket, stack, queue, deque, circular queue
or ring buffer, buffer, double-buffer, string, and database.
There are also custom hybrids containing two or more of the above
structures.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.l earn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 22 '05 #10

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

Similar topics

0
1217
by: Bram Stolk | last post by:
Hello, Python features the Queue.Queue object that provides thread-safe access. What if I want thread access to other types of datastructures? Would I need to pair e.g. each list, Set or hashmap with its own threading.Semaphore() object? Or is there an easier way to have thread-safe access to datastructures?
2
25215
by: Sumaira Maqsood Ali | last post by:
HI, I have a C program that outputs html code and embedded javascript code. I have a datastructure in my C file whose data values have to be printed dyanamically by javascript when the viewer clicks on the corresponding button in the browser. Is there a way I can make this datastructure in C file available to Javascript when the viewer request to see that information. Thanks Sumaira
9
2203
by: gold | last post by:
Hello all, I want know abt wht kind of datastructures using both C & C++ internally. Some were said heap, others said tree anyone can explain brief?
2
1142
by: hema | last post by:
hi all, i was trying to write code for binary search tree insertion using c,with linked lists but i'm getting segmentation fault,can someone help me to underatsand tree better... thanking u all in advance hema
7
1440
by: sareel | last post by:
I need the explanation/code to transmit a complex datastructure like Linked list or binary tree using sockets from client to sever...
2
1746
by: sathishc58 | last post by:
Hi All I recently studied about "Forest" Datastructures. Supposed we have two trees. Could not represent diagramatically Tree a ====== 1) 10 is the root node 2) 9 is the
2
1233
by: mohi | last post by:
hello every one , i know this is a c++ forum ,but as i cudn't get any datastructures forum ..iam posting here : can anyone tell me which is the best language to be used for implementation of datastructures by best i mean speed of operation : and if given a choise that someone knows both c and c++ which one will be convinent ang faster for implementimg data structures??
0
8324
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8842
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8513
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7352
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2742
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.