Question 152Asked in CIL MT Systems, 27 Feb 2020 (8:00 AM)

What is mean by stable sorting algorithm?

  1. AA sorting algorithm is stable if it preserves the order of all keys
  2. BA sorting algorithm is stable if it preserves the order of non-duplicate keys
  3. CA sorting algorithm is stable if it preserves the order of duplicate keys
  4. DA sorting algorithm is stable if it doesn't preserve the order of duplicate keys
Show answerHide answer

Correct answer: (C) A sorting algorithm is stable if it preserves the order of duplicate keys

From CIL MT Systems PYQ, 27 Feb 2020 (8:00 AM)

This is question 152 of CIL MT Systems PYQ, 27 Feb 2020 (8:00 AM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.