Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Data
friends I am unable to write a correct C language program for quick sort using iteration. I have wrote code for the same using recursion. Can anybody give a code using iteration for quick sort in C please.
Posted 13-Feb-11 2:36am
Comments
OriginalGriff at 13-Feb-11 9:02am
   
Reason for my vote of one: To lazy to do basic research...
Manfred R. Bihy at 13-Feb-11 9:30am
   
Agreed! +1

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Google is your friend: using "iteration for quick sort in C" pasted from your question gave > 100,000 hits. The top one washttp://khatri-krishna.tripod.com/cgans.htm[^]
 
Learn to use Google: it is quicker than asking a question...
  Permalink  
Comments
Manfred R. Bihy at 13-Feb-11 9:32am
   
The same was actually a homework assignement when I studied CS in the 90's. 5+
OriginalGriff at 13-Feb-11 11:01am
   
We had to implement it (without the internet) when I was on a one-week C course in the early 80's...
Manfred R. Bihy at 13-Feb-11 11:09am
   
Seems to be a classic then! :)
BTW I also got that solved on my own without resorting to internet help.
Sandeep Mewara at 13-Feb-11 11:26am
   
You must be really feeling very proud right now! :)
Manfred R. Bihy at 13-Feb-11 12:04pm
   
Proud maybe, knowledgeable yes! :)
Sandeep Mewara at 13-Feb-11 12:07pm
   
If not, surely you should feel a little proud. You deserve it, that too after reading such questions here, where people just try to get their work done from others.
 
Knowledgeable. 10++ :).. No doubts.
Manfred R. Bihy at 13-Feb-11 12:10pm
   
Thanks again!
OriginalGriff at 13-Feb-11 11:27am
   
Seems so - I think I gave a merge sort as a interview test around then as well.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CPallini 365
1 Sergey Alexandrovich Kryukov 277
2 OriginalGriff 165
3 George Jonsson 159
4 Richard MacCutchan 110
0 OriginalGriff 6,344
1 Sergey Alexandrovich Kryukov 5,860
2 CPallini 5,125
3 George Jonsson 3,559
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 13 Feb 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100