sort

PythonF

Matrix Column-wise Sort

Given a matrix M containing the elements in  R rows and C columns. Sort the matrix elements in ascending order along each…
PythonF

Sort Pass Students by Name

Sort Pass Students by Name: A list of N students name and their marks in three subjects are passed as the input. The average of the 3 subjects…
PythonF

Frequency Sort – Numbers

Given N integers, sort them based on their frequency in descending order. If the frequency is same then sort based on their values in…
PythonF

Sort By Last Name

N persons first and last names are passed as input. The program must sort them based on the last name. (All last names are distinct, that is…