Java1 Min Read LetuscrackonJune 11, 2024 JAVA – Generics – String Sort An array of N strings is passed as input. Implement the function to sort the strings in ascending order and print the strings as mentioned in…
Python1 Min Read LetuscrackonJune 11, 2024 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.…
Python1 Min Read LetuscrackonJune 11, 2024 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…
Python1 Min Read LetuscrackonJune 11, 2024 Sort N Strings – Descending Order N strings are passed as input. The program must sort them in the descending order. Input Format: The first line contains the value of N. Next…
Python1 Min Read LetuscrackonJune 11, 2024 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…
Python1 Min Read LetuscrackonJune 11, 2024 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…