473,405 Members | 2,287 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 1652
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.teranew s.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******@gascad.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.programming. 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.learn.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******@gascad.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*****************@newssvr32.news.prodigy.co m...
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.programming. 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.learn.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.programming. 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******@gascad.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


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.learn.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
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.

In "The C++ Programming Language" 3rd Edition or Special Edition by
Bjarne Stroustrup (the creator of C++), on page 464, there is a table
that summarises the efficiencies of the various standard library containers.


Regards,

Ioannis Vranos
Jul 22 '05 #11

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

Similar topics

0
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...
2
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...
9
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
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...
7
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
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
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
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...

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.