Python1 Min Read LetuscrackonJanuary 27, 2026 String – Print till char A string S is passed as input along with a character C. The program must print the string value S till C is reached. Input Format:The first…
C Java JavaScript Python2 Min Read LetuscrackonJanuary 26, 2026 Xth Rank – Students The name and score of N students in a test are passed as input to the program. Also, an integer X is passed as input to…
C1 Min Read LetuscrackonJanuary 25, 2026 Unit Digit – Ascending and Descending The program must accept two integers as the input. The program must sort the two integers in ascending order based on their unit digit and…
C Java Python1 Min Read LetuscrackonJanuary 23, 2026 Replace Max Digit – Two Integers The program must accept two integers X and Y as the input. The program must replace all the occurrences of the maximum digit in X with the…
C Java Python TCS CodeVita2 Min Read LetuscrackonJanuary 22, 2026 kth largest factor of N – TCS CodeVita A positive integer d is said to be a factor of another positive integer N if when N is divided by d, the remainder obtained is zero. For…
C Java Python TCS CodeVita3 Min Read LetuscrackonJanuary 19, 2026 Counting Rock Samples – TCS CodeVita Juan Marquinho is a geologist and he needs to count rock samples in order to send it to a chemical laboratory. He has a problem: The…
C Java Python TCS CodeVita2 Min Read LetuscrackonJanuary 17, 2026 Bank Compare – TCS CodeVita There are two banks – Bank A and Bank B. Their interest rates vary. You have received offers from both banks in terms of the annual rate of…
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…
C Python2 Min Read LetuscrackonJanuary 14, 2026 Matrix – Inverted L & Reverse L The program must accept an integer matrix of size NxN as the input. The program must print the layers of the matrix based on the…
C1 Min Read LetuscrackonJanuary 13, 2026 Pattern – Asterisk Edge Given a positive integer value N as input, print the pattern as in the Example Input/Output section. The outer edges must be represented by…