[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Data Structures :: Searching & Sorting - Discussion

Home > Data Structures > Searching & Sorting > MCQs Questions Discussion

24 / 69

Choose the correct option.

Which of the following sorting algorithm is stable

Ainsertion sort.

Bbubble sort.

Cquick sort.

DBoth (A) and (B)

Answer: Option (Login/Signup)

Show Explanation



A stable sorting algorithm is the one that sorts the identical elements in the same order as they appear in the input, whilst unstable sorting may not satisfy the case.

Stable Sorting Algorithms:

Insertion Sort
Merge Sort
Bubble Sort
Tim Sort
Counting Sort

Unstable Sorting Algorithms:

Heap Sort
Selection sort
Shell sort
Quick Sort

Asked In ::

Post Your Answer Here:     

Reply    
Rate This: +1 -0 +
    Report


Report Error

Please Login First Click Here

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here