Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Questions by Orochimaru
6
votes
1
answer
1
Sorting Techniques
What is the best sorting algorithm to use for the elements in array are more than 1 million in general? A Merge sort. B Bubble sort. C Quick sort. D Insertion sort. Ans:C Source: http://quiz.geeksforgeeks.org/algorithms-insertionsort-question ... B Source: http://quiz.geeksforgeeks.org/algorithms-searching-and-sorting-question-16/ Kindly explain on why the answers are different?
What is the best sorting algorithm to use for the elements in array are more than 1 million in general?AMerge sort.BBubble sort.CQuick sort.DInsertion sort. Ans:CSource: ...
7.9k
views
asked
Jan 27, 2017
Algorithms
algorithms
sorting
time-complexity
+
–
2
votes
3
answers
2
Insertion sort
Consider the array A[]= {6,4,8,1,3} apply the insertion sort to sort the array . Consider the cost associated with each sort is 25 rupees , what is the total cost of the insertion sort when element 1 reaches the first position of the array ? (A) 50 (B) 25 (C) 75 (D) 100 Source: http://quiz.geeksforgeeks.org/algorithms-insertionsort-question-4/
Consider the array A[]= {6,4,8,1,3} apply the insertion sort to sort the array . Consider the cost associated with each sort is 25 rupees , what is the total cost of the ...
11.0k
views
asked
Jan 27, 2017
Algorithms
algorithms
sorting
time-complexity
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register