Series: Subject: Topic:
Question: 448 of 528

How can you sort the elements of the array in descending order?

By calling Sort() and then Reverse() methods.
Asked by: Interview Candidate | Asked on: Sep 15th, 2004
Showing Answers 1 - 2 of 2 Answers

Answered On : Dec 12th, 2005

View all questions by sahu   View all answers by sahu

Ans:By calling Sort() and then Reverse() methods.

Yes  1 User has rated as useful.
Login to rate this answer.

Answered On : Feb 21st, 2006

first sort elements of array in ascending order using appropriate sorting technique( BUBBLE,HEAP,QUICK..........)AFTER sorting scan array in reverse order ie and store it.

Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions



twitter fb Linkedin GPlus RSS


Interview Question

 Ask Interview Question?


Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.