Searching for "sorting"

Q:

What are the different functions in sorting an array?

Answer

sort() , rsort(), asort()
ksort()   , usort()
arsort()  , uksort()
natsort() , natcasesort()
array_multisort()

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

Q:

Which of the following methods doesn't use sorting?

A) Insertion B) Deletion
C) Exchange D) Selection
 
Answer & Explanation Answer: A) Insertion

Explanation:

Using insertion we can perform insertion sort, using selection we can perform selection sort, using exchange we can perform the bubble sort.But by using deletion we cannot perform any sort.

Report Error

View Answer Report Error Discuss

Filed Under: C++