C Java Python2 Min Read LetuscrackonJune 10, 2024 Sort based on Weight The program must accept N integers as the input. For each integer X, the program must find the sum of the weights based on the…
C Java Python TCS CodeVita3 Min Read LetuscrackonJune 10, 2024 Collecting Candies – TCS CodeVita Krishna loves candies a lot, so whenever he gets them, he stores them so that he can eat them later whenever he wants to. He has recently…
C Java Python3 Min Read LetuscrackonJune 10, 2024 Digital Sub-Matrix Pattern The program must accept an integer matrix of size NxN as the input. The program must find the maximum number of…
Java Python2 Min Read LetuscrackonJune 10, 2024 Countries Affected by Coronavirus The program must accept the names of N persons affected by the coronavirus and their country names as the input. The program must…
C Java Python2 Min Read LetuscrackonJune 10, 2024 Print Date Format The program must accept a valid date D in any format as the input. The day DD, the month MM or MMM and the…
Dynamic Programming Java1 Min Read LetuscrackonJune 10, 2024 Longest Palindromic Substring The program must accept a string S as the input. The program must print the length of longest palindromic substring in the string S…
C Java JavaScript Python2 Min Read LetuscrackonJune 10, 2024 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…
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…