Java1 Min Read LetuscrackonJune 11, 2024 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…
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…
C Java Python2 Min Read LetuscrackonJune 10, 2024 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…
C Java Python2 Min Read LetuscrackonJune 10, 2024 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…
Python2 Min Read LetuscrackonJune 10, 2024 Sort Messages – Chronological Order The program must accept N messages shared between the two persons A and B in a single day (from 00:00:00 to…