473,795 Members | 3,255 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

any good book for c++ algorithm/data structure implementation

Hi,

Can you please recommend any good books for c++ algorithm/data
structure implementation? I am looking for book which has code/
explanation for common algorithm in c++ , e.g. search, sort, traverse
a tree.

Thank you.

Jul 10 '07 #1
3 4629
Ani
On Jul 10, 10:57 am, "ying...@gmail. com" <ying...@gmail. comwrote:
Hi,

Can you please recommend any good books for c++ algorithm/data
structure implementation? I am looking for book which has code/
explanation for common algorithm in c++ , e.g. search, sort, traverse
a tree.

Thank you.
Arron Tanenbaum books on Data Structs is a good book.
-- Anirudh.

Jul 10 '07 #2

<yi*****@gmail. comwrote in message
news:11******** *************@2 2g2000hsm.googl egroups.com...
Hi,

Can you please recommend any good books for c++ algorithm/data
structure implementation? I am looking for book which has code/
explanation for common algorithm in c++ , e.g. search, sort, traverse
a tree.

Thank you.
Data Structures and Algorithms in C++, Third Edition by Adam Drozdek

http://www.amazon.com/Data-Structure.../dp/0534491820

Fabio
Jul 10 '07 #3
On Jul 10, 3:51 am, "FabioAng" <fabioangNOS... @libero.itwrote :
<ying...@gmail. comwrote in message

news:11******** *************@2 2g2000hsm.googl egroups.com...
Hi,
Can you please recommend any good books for c++ algorithm/data
structure implementation? I am looking for book which has code/
explanation for common algorithm in c++ , e.g. search, sort, traverse
a tree.
Thank you.

Data Structures and Algorithms in C++, Third Edition by Adam Drozdek

http://www.amazon.com/Data-Structure.../dp/0534491820

Fabio

I second that.

Jul 10 '07 #4

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

Similar topics

24
3617
by: matty | last post by:
Go away for a few days and you miss it all... A few opinions... Programming is a craft more than an art (software engineering, not black magic) and as such, is about writing code that works, first and foremost. If it works well, even better. The same goes for ease of maintenance, memory footprint, speed, etc, etc. Most of the time, people are writing code for a use in the *real world*, and not just as an academic exercise. Look at...
3
2561
by: Richard Cavell | last post by:
Hi, I have a structure of 3 16-bit values. I have either 65000, 256000 or 1 million instances of this structure. I want to sort the lot of them according to the number contained in one of the fields. Duplicate values are allowed. So obviously if many instances of the structure have the same value in this field, they must be together but they can be in any order. The instances are already weakly sorted. On modern Pentium...
2
6468
by: yee young han | last post by:
I need a fast data structure and algorithm like below condition. (1) this data structure contain only 10,000 data entry. (2) data structure's one entry is like below typedef struct _DataEntry_ { char szInput; char szOutput; int iSum;
0
1625
by: Julia Jin | last post by:
Hi, there, In my program, I use some data structure a lot, such as list, queue, prior queue, tree, etc. Right now, I chose some programs from "Mastering Algorithms With C " by Kyle Loudon. But I do not like the way that it manage the memory. So I want to find another better C library that has the implementation of those basic data structure and algorithm so that I can reuse. Can somebody give me some good examples?
10
7137
by: LP | last post by:
Hi, I was asked at the tech screening what the linked list was which I answered with "academic" definition. Then a guy asked me how I would implement a linked list in C# and what would be a good case for linked list. I could not think of any .NET class that implement true linked list (I don't think there is any). But, I guess one could implement their own linked list. I couldn't think of a good case when it would be absolutely necessary...
4
2174
by: rushik | last post by:
Hello all, I am using structure in my program, and my aim is to sort this structure based on some optimized sorting algo. structure is struct data { int account;
2
7298
by: Julio C. Hernandez Castro | last post by:
Dear all, We have just developped a new block cipher called Raiden, following a Feistel Network structure by means of genetic programming. Our intention now consists on getting as much feedback as possible from users, so we encourage you to test the algorithm and send us your opinion. We would also like to receive enhancements and new versions of the algorithm, developed in other source languages and platforms. Our idea on developing...
4
32085
prometheuzz
by: prometheuzz | last post by:
Hello (Java) enthusiasts, In this article I’d like to tell you a little bit about graphs and how you can search a graph using the BFS (breadth first search) algorithm. I’ll address, and hopefully answer, the following questions: • what is a graph? • how can a graph be represented as an ADT? • how can we search/walk through a graph using the BFS algorithm?
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10438
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...
0
10001
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9042
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
7540
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
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
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

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.