C Java Python TCS CodeVita2 Min Read LetuscrackonJanuary 16, 2026 Consecutive Prime Sum – TCS CodeVita Some prime numbers can be expressed as a sum of other consecutive prime numbers. For example 5 = 2 + 3, 17 = 2 + 3 + 5 + 7, 41 = 2 + 3 + 5 + 7…
Java1 Min Read LetuscrackonJanuary 15, 2026 1st Half / 2nd Half Alphabets Leela is a science teacher for class V and she wants to divide the class into two halves based on the starting letter of the names of the…
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.…
Dynamic Programming Java2 Min Read LetuscrackonJanuary 8, 2026 Street Travel Count Mr.X has a bike and is travelling in a town which has N horizontal (West to East direction) and N vertical (North to South…
C Java Python2 Min Read LetuscrackonJanuary 7, 2026 Rotated Triangle Pattern Rotated Triangle PatternGiven an integer N, print the pattern as given in Example Input/Output section.Note: N is always an odd number.…
C Java1 Min Read LetuscrackonJanuary 3, 2026 Palindrome Missing Alphabet Problem Statement :String S which is a palindrome is passed as the input.But just one alphabet A is missing in S. The program must print the…
Java1 Min Read LetuscrackonJanuary 2, 2026 First and Last Odd Digits Given N positive integers, the program must print the integers if the first and last digits are odd digits. Boundary Condition(s):1 <= N…
Java1 Min Read LetuscrackonDecember 26, 2025 Corona Virus An integer matrix of size RxC containing only the values 0, 1 and 2 is given as the input to the program.…
C Java Python2 Min Read LetuscrackonDecember 26, 2025 Fill the Underscores The program must accept a string S containing underscore(s) and N string values as the input. A group of consecutive underscores in the string…