C Java Python1 Min Read LetuscrackonJune 10, 2024 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 LetuscrackonJune 10, 2024 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…
Dynamic Programming Java1 Min Read LetuscrackonJune 10, 2024 Minimum Edit Distance Two Strings The program must accept two string values S1 and S2 as the input.The program must print the minimum cost required to convert the string S1 to…
Dynamic Programming Java1 Min Read LetuscrackonJune 10, 2024 Intelligent Chef There are N persons in a hotel. Each person has their own preferences for food.The hotel chef wants to prepare the food items as minimum as…
Dynamic Programming Java1 Min Read LetuscrackonJune 10, 2024 Vendor Maximum Profit A vendor has a shop and he wants to purchase some items for a maximum of N rupees.There are K items in a wholesale store that the vendor is…
C Java Python TCS CodeVita3 Min Read LetuscrackonJune 10, 2024 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 LetuscrackonJune 10, 2024 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 LetuscrackonJune 10, 2024 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 LetuscrackonJune 10, 2024 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 LetuscrackonJune 10, 2024 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…