Java1 Min Read LetuscrackonJanuary 11, 2026 Two Strings – L Joint Given two strings S1 and S2, where the last letter of one of the strings is same as the first letter of the other string, print the output as…
Java1 Min Read LetuscrackonJanuary 10, 2026 Numbers – Range Count Given N distinct integers, the program must print the number of ranges R present. A range is defined as two or more consecutive integers.…
C1 Min Read LetuscrackonJanuary 7, 2026 Five Numbers – Number without Pair Five numbers a,b,c,d,e are passed as input to the program. Among these 5 numbers, 2 pairs are present and one is without pair. Print that…
C1 Min Read LetuscrackonJanuary 3, 2026 Product – Swap Unit Digits The program must accept two integers X and Y as the input. The program must print the product of X and Y after swapping their unit digits as…
C1 Min Read LetuscrackonJanuary 2, 2026 Pattern – Half Pyramid Reverse Given a positive integer value N as input, print the pattern as in the Example Input/Output section. Input Format:The first line contains N.…
C Dynamic Programming2 Min Read LetuscrackonDecember 31, 2025 String & Asterisks Zig-Zag Pattern The program must accept a string S and an integer N as the input. The program must form a character matrix of size NxN with the asterisks (*).…
C1 Min Read LetuscrackonDecember 30, 2025 Distance Travelled + or – The program must accept a string S representing the direction of movement as the input. The string S contains only the…
C1 Min Read LetuscrackonDecember 29, 2025 Replace Vowels – Circular Fashion The program must accept a string S as the input. The program must replace all the vowels in S by the…
C1 Min Read LetuscrackonDecember 29, 2025 Same Adjacent – Asterisks The program must accept a string S as the input. The program must print YES if the adjacent characters of each asterisk (*) are same. Else the…
C1 Min Read LetuscrackonDecember 27, 2025 Characters – Factors of Length The program must accept a string S as the input. The program must calculate the length of string S as L. Then the program must print the…