0 votes 0 votes A sorting algorithm is called stable if 1.It takes O(n log n) time 2.It maintains relative order of occurrence of non-distinct elements 3.It uses divide and conquer paradigm 4.It takes linear time Algorithms sorting time-complexity + – Harikesh Kumar asked Jun 12, 2017 • retagged Jun 24, 2022 by makhdoom ghaya Harikesh Kumar 797 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes The answer is (2) If it maintains relative order of occurrence of non-distinct elements A sorting algorithm is said to be stable if two objects with equal keys appear in the same order in sorted output as they appear in the input unsorted array. https://stackoverflow.com/questions/1517793/stability-in-sorting-algorithms minibhati answered Jun 13, 2017 minibhati comment Share Follow See all 0 reply Please log in or register to add a comment.