Show Bid Request
Efficient sorting of a string
Bid Request Id: 23022
|
|
|
Description:
I need the most efficient (least CPU time) function to sort a particular kind of string.
An example input string would be: "1:52,5:26,2:103,40:22,93:31"
I need to sort this string by the number after the colon, but only output the number before the colon, comma separated.
The processed output would be this: "40,5,93,1,2"
Both numbers before and after the colon would always be a positive integer. And the input string could be anywhere between 1 and 32,768 sections long. By sections I mean the part between the commas (ie, 1:52).
Deliverables: Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
Complete copyrights to all work purchased.
Platform:
VB 6.0
Special Conditions / Other:
Please complete within 1 day of acceptance.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
|
|
$30 (USD)
|
Jul 28, 2002 11:41:55 AM EDT
|
9.96
(Excellent)
|
|
|
Something like this?
Code is complete and fully commented.
Regards,
- Aaron. |
|
Attached File
|
|
|
|
|