C Java JavaScript Python5 Min Read LetuscrackonJune 11, 2024 Unique String Representations Given a string S print the number of unique string values that can be formed by rearranging the letters in the string S. Boundary Condition:2…
Java Python1 Min Read LetuscrackonJune 11, 2024 String Characters Interlace Given an input string S, accept the input string S and print the string in the interlaced order as shown in the example…
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…