473,320 Members | 1,930 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,320 software developers and data experts.

Performing quicksort on a linked list

5
write a program in c for quick sort of linklist?
Sep 28 '07 #1
11 3803
Firecore
114 100+
write a program in c for quick sort of linklist?
Have a look at these sites.
I am not very good at explaining

http://en.wikipedia.org/wiki/Linked_list
http://richardbowles.tripod.com/cpp/...t/linklist.htm
Sep 28 '07 #2
sicarie
4,677 Expert Mod 4TB
Did you have a question amongst those question marks? (PS - what came before them looked more like a statement than a question about linked lists)

Where are you stuck. Have you tried this? Do you know the library you need to include to be able to call a linked list? Do you have the quicksort algorithm?
Sep 28 '07 #3
deenu
5
Did you have a question amongst those question marks? (PS - what came before them looked more like a statement than a question about linked lists)

Where are you stuck. Have you tried this? Do you know the library you need to include to be able to call a linked list? Do you have the quicksort algorithm?
actualy i need the code of quick sort of link list..in c
plzz help
Sep 28 '07 #4
sicarie
4,677 Expert Mod 4TB
actualy i need the code of quick sort of link list..in c
plzz help
Nobody here is going to write code for you. We can help you if you're stuck and you post what you have tried, but I am certainly not going to help you cheat by writing it for you.
Sep 28 '07 #5
deenu
5
write a program in c for quick sort of linklist?
i want the coding for quick sort of linklist in c...
i searched it in google but could not find it..
Sep 28 '07 #6
sicarie
4,677 Expert Mod 4TB
The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

Then when you are ready post a new question in this thread.
Sep 28 '07 #7
deenu
5
Nobody here is going to write code for you. We can help you if you're stuck and you post what you have tried, but I am certainly not going to help you cheat by writing it for you.
do as your wish ...
there are many who will help me
Sep 28 '07 #8
sicarie
4,677 Expert Mod 4TB
Not here, tiger. Ask again and you will be banned.

But if you choose to try it, there are lots of us who will try to help.
Sep 28 '07 #9
deenu
5
Nobody here is going to write code for you. We can help you if you're stuck and you post what you have tried, but I am certainly not going to help you cheat by writing it for you.
i am a retired person..
i just wanted it for help
i am learning c program
what i will cheat for at this age???????
Sep 28 '07 #10
sicarie
4,677 Expert Mod 4TB
i am a retired person..
i just wanted it for help
i am learning c program
what i will cheat for at this age???????
If you're learning, then learn it. Do it yourself. Best way to learn. I'm done discussing this with you.
Sep 28 '07 #11
JosAH
11,448 Expert 8TB
i am a retired person..
i just wanted it for help
i am learning c program
what i will cheat for at this age???????
You wouldn't believe the lame excuses people come up with; what if somone,
somewhere gives you boilerplate code for this algorithm? Have you learned anything
from it then? I sincerely doubt it.

kind regards,

Jos
Sep 28 '07 #12

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: why | last post by:
Hi, just been curious. i have learn that quicksorting algorithm is more widely used then heapsort, despite having the same performance indication of O(n log n) anyone knows why? newbie
3
by: Lieven | last post by:
I want to make a quicksort algorithm that can take both a vector and a list. This is the code I've got. But I also want to give an argument that will be used for comparing the elements. I am used...
2
by: nkharan | last post by:
Hey, Here is the pseudocode of quicksort. It can be observed that there are as many as (n-1) unresolved stack calls in the worst case. Now, how do i reduce this unresolved stack calls? what...
6
by: Baltazar007 | last post by:
Does anyone know how to make quicksort for single linked list without using array? I know that mergesort is maybe better but I need quicksort!! thnx
2
by: simo | last post by:
Hello to all... I am trying to write an algorithm parallel in order to realize the quicksort. They are to the first crews with C and MPI. The algorithm that I am trying to realize is PARALLEL...
8
by: aparnakakkar2003 | last post by:
hello can any one tell me how i can create program to sort string list(standard template library) using quicksort.
8
by: aparnakakkar2003 | last post by:
hello can any one tell me how i can create program to sort string list(standard template library) using quicksort.
12
by: aparnakakkar2003 | last post by:
can any one tell me if I give the followiing string in input: ABC abc BBC then how I can get ABC abc BBC
3
by: jollyfolly | last post by:
Could you please help me find the error. I myself have (i might be wrong) boiled it down to the for loop because it somehow magically converts a list into an int and tries to iterate over that. But I...
1
by: uydf | last post by:
hey, can someone help me with this problem- if every time K pivots are chosen and every pivot gets a linked list attached to it, with the numbers that are between this pivot and the next, and we do...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.