sort

JavaF

Sort – Odd & Even Ascending

An array of N numbers is passed as the input. The program must sort the odd numbers and even numbers separately in ascending order. The odd…
PythonF

Split String & Sort

An even length string S is passed as the input. The program must split the string into two parts S1 and S2 and sort them in ascending order.…
PythonF

Sort Integers in String

The program must accept a string S which has only numbers and underscores as the input. The program must print only the integers…
PythonF

Column-wise Alphabet Sort

A matrix of size N*N is passed as input. The program must sort the matrix(lexicographically) column-wise and prints the matrix. Boundary…
PythonF

Number Sequence Sort

The program must accept and sort N number sequences. A number sequence can be multiplication, power or a normal number. The sorted list should…
PythonF

Sort – Domain Names

The program must accept the email addresses of N students as the input. The program must print the names of the email domains based…
PythonF

Sort based on Weight

The program must accept N integers as the input. For each integer X, the program must find the sum of the weights based on the…