Explain which of the following is true about asort?
• Sorts highest to lowest by value maintaining key association.
• Sorts lowest to highest by key maintaining key association.
• Sorts highest to lowest by key, re-indexing the array.
• Sorts lowest to highest by value, re-indexing the array.
Submitted by: AdministratorSorts lowest to highest by key maintaining key association.
asort()
This function sorts an array such that array indices
maintain their correlation with the array elements they are
associated with. This is used mainly when sorting
associative arrays where the actual element order is
significant.
Submitted by: Administrator
asort()
This function sorts an array such that array indices
maintain their correlation with the array elements they are
associated with. This is used mainly when sorting
associative arrays where the actual element order is
significant.
Submitted by: Administrator
Read Online Sort And Searching Job Interview Questions And Answers
Top Sort And Searching Questions
☺ | Tell me are there implementations for sorting and searching in the Java libarary? |
☺ | What is Bitonic search? |
☺ | What is bubble sort algorithm? |
☺ | What is Quicksort? |
☺ | Explain exception filter? |
Top Data Structure Categories
☺ | Data Center Manager Interview Questions. |
☺ | Sort And Searching Interview Questions. |
☺ | Creative UI/UX Designers Interview Questions. |
☺ | Data Structure Linked list Interview Questions. |
☺ | Data Structure Arrays Interview Questions. |