GeekInterview.com
Series: Subject: Topic:
Question: 380 of 460

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
sahu

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.
bhawesh

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

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

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.