C Java Python1 Min Read LetuscrackonJune 11, 2024 Travelling PNR List A mini bus having S seats can be overbooked during festival times. Out of N bookings made C bookings can be cancelled. Hence the final…
C Java JavaScript Python5 Min Read LetuscrackonJune 11, 2024 Tennis Contest A Tennis contest was scheduled in a college. N number of players registered to participate in this contest. (A player is the winner if he…
C Java JavaScript Python6 Min Read LetuscrackonJune 11, 2024 Print February Calendar A specific year Y and the starting day of the year D is given as input. Print the February month calendar for that specific year as shown in…
C Dynamic Programming Java JavaScript Python2 Min Read LetuscrackonJune 11, 2024 Pet Store Dogs There are N dogs in a pet store. The pet store wants to keep the N dogs in cages.There can be two dogs in each cage. A dog can be eitheir…
Java1 Min Read LetuscrackonJune 11, 2024 Remove First And Last Till End Given a string S, print the string S removing first and last character till no characters are left. Boundary Condition :1 <= Length of…
Java1 Min Read LetuscrackonJune 11, 2024 Digits Printer Given a number N. print all the digits of the number N in descending order. Boundary Condition:0 <= N <= 99999999999999 Input…
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 Reverse Columns In Matrix Given a square matrix of size N, reverse column values in the matrix and print the modified matrix as the output. Boundary Condition:1<= N…
C Java Python3 Min Read LetuscrackonJune 11, 2024 Common Alphabets N Strings N string values are passed as input to the program. Each string will contain only the alphabets a-z in lower case. A given alphabet may be…
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…