C Java Python1 Min Read LetuscrackonJune 9, 2024 Rotate String – N Positions A string S of length L is passed as the input. The program must rotate the string S by N position in forward direction and print the result as…
Java1 Min Read LetuscrackonJune 9, 2024 Alternate letters in uppercase A string S (only alphabets) is passed as input. The printed output should contain alphabets in odd positions in each word in uppercase and…
Java Python1 Min Read LetuscrackonJune 9, 2024 Count the primes in a range Two whole numbers N1 and N2 are passed as input. The program must print the number of primes present between N1 and N2 (the range is inclusive…
Java1 Min Read LetuscrackonJune 9, 2024 First Repeating Character A string S is passed as the input. S has at least one repeating character. The program must print the first repeating character C. Input…
Java Python1 Min Read LetuscrackonJune 9, 2024 Reverse String Till Underscore String S is passed as the input to the program. S may or may not have a single underscore embedded in it. The program must reverse the String…
Java1 Min Read LetuscrackonJune 9, 2024 Average Speed A single line L with a set of space separated values indicating distance travelled and time taken is passed as the input. The program must…
Java1 Min Read LetuscrackonJune 9, 2024 Meeting Late Comers A certain number of people attended a meeting which was to begin at 10:00 am on a given day. The arrival time in HH:MM format of those who…
C Java Python2 Min Read LetuscrackonJune 8, 2024 Integers Sum – Split, Sort and Merge The program must accept N integers as the input, where each integer contains a pipe symbol. The program must find the sum of the…
C Java Python2 Min Read LetuscrackonJune 8, 2024 Split String into Words – Length The program must accept an integer N, a string S and N integers as the input. The string S contains N words without any space.…
C Java Python3 Min Read LetuscrackonJune 8, 2024 Matrix Layers – Fill from each Corner The program must accept five integers A, B, C, D and N as the input. The value of N is always even.…