472,373 Members | 1,941 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,373 software developers and data experts.

Sorting & Searching

Hi,

Can anyone please tell me good books/sites for sorting and searching.
Finding it a little hard to understand

Apr 18 '06 #1
4 2590
Kuku schrieb:
Can anyone please tell me good books/sites for sorting and searching.
Finding it a little hard to understand


"Algorithms in C", Sedgewick. Part 1-4 treats sorting and searching,
among other things.

Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.
Apr 18 '06 #2
Kuku said:
Hi,

Can anyone please tell me good books/sites for sorting and searching.
"The Art of Computer Programming", Volume 3, "Sorting and Searching", by
Donald E Knuth.
Finding it a little hard to understand


Well, basically it's easier to find stuff if it's in order than if it's all
jumbled up. Everything else is tweaking (quite major tweaking in some
cases) and commentary.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Apr 18 '06 #3
"Richard Heathfield" writes:
Can anyone please tell me good books/sites for sorting and searching.


"The Art of Computer Programming", Volume 3, "Sorting and Searching", by
Donald E Knuth.
Finding it a little hard to understand


Focusing on the sort part of your question. I think the best way to get
started in this is to look for Java applets on the internet. I think there
are literally hundreds of them, some quite good. If you are having trouble,
the last thing you want is the Knuth book It will just make you feel more
stupid than you already do.

Try using words such as applet, primer, and tutorial in a Google search.
Here are a few, picked more or less at random.

http://www.geocities.com/siliconvall...854/Sort1.html
http://www.cse.iitk.ac.in/users/dsrk...ort/quick.html
http://www-cse.uta.edu/~holder/cours...ets/quicksort/

After you get the fundamentals down, visit the book store of a nearby
college and see what data structures books they have in stock. There might
even be something useful in a public library.
Apr 18 '06 #4
osmium wrote:

"Richard Heathfield" writes:
Can anyone please tell me
good books/sites for sorting and searching.
"The Art of Computer Programming", Volume 3,
"Sorting and Searching", by
Donald E Knuth.
Finding it a little hard to understand


Focusing on the sort part of your question.


The best part is, that if you can read the whole thing,
then Bill Gates wants your resume!

http://www.google.com/search?hl=en&l...2bill+gates%22

Knuth is not light reading.
However, Knuth is substantial to the point where something that
I once heard Pablo Picaso say on television, applies:
"What I have to say is so substantial,
that if you only understand a little bit,
it is enough."

I learned heapsort and Shellsort and quicksort from Knuth.
I think the best way to get
started in this is to look for Java applets on the internet.


I learned mergesort from a Java applet on the internet.
I don't recall where I learned bubblesort and insertionsort.

How to implement bsearch as an O(log(N)) algorithm,
should be obvious,
if you can understand either heapsort or quicksort,
or maybe even if you can't.

--
pete
Apr 20 '06 #5

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

Similar topics

2
by: Kakarot | last post by:
I'm gona be very honest here, I suck at programming, *especially* at C++. It's funny because I actually like the idea of programming ... normally what I like I'm atleast decent at. But C++ is a...
9
by: SASRS | last post by:
Here is my code. I am trying to see if I can put a %@ LANGUAGE="VBSCRIPT" %> <% FieldA = Request.QueryString("A") FieldB = Request.QueryString("B") FieldC = Request.QueryString("C") ...
2
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_...
3
by: cameron | last post by:
I would like to do a search and have the results sorted by property 1 and then by property 2. My first thought had been //set up the searching object and call it oSearch...
1
by: Sargas Atum | last post by:
Hi all, 1. I have a problem with cell selection in a table in a DataGrid. I dont want that anybody writes in the cells. That was not a problem I changed them to "read only", but if I am going...
0
by: Eph0nk | last post by:
Hi, I have two small questions concerning databounding an xml file to a datalist. 1. Can i do (ascending/descending) sorting on a certain field? 2. Is it possible to show onliy the first 5...
6
by: David Garamond | last post by:
in oracle 10g, you can issue: ALTER SESSION SET NLS_COMP = ansi; ALTER SESSION SET NLS_SORT = binary_ci; do you think this is an elegant solution for case insensitive sorting & searching? is...
5
by: Cindy Lee | last post by:
I'm getting my data from an XML file. The data binds fine, but I can't sort on it. Do I have to do anything special? I have enabled sorting on my grid view. Autogenerate columns is off, and I...
5
by: lemlimlee | last post by:
hello, this is the task i need to do: For this task, you are to develop a Java program that allows a user to search or sort an array of numbers using an algorithm that the user chooses. The...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.

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.