Dynamic Programming Java1 Min Read LetuscrackonJanuary 20, 2026 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…
C1 Min Read LetuscrackonJanuary 14, 2026 Matrix Maximum Column Sum An integer matrix of size N*N is given as input. The program must print the maximum column-wise sum of the matrix. Boundary Condition(s):1…
Python1 Min Read LetuscrackonDecember 4, 2025 Maximum Repeating Count Given an array of integers of length N, the program must find the value which repeats in maximum number of times and print the number. In case…
Hackerrank Python1 Min Read LetuscrackonDecember 1, 2025 Average Salary Excluding the Minimum and Maximum Salary You are given an array of unique integers salary where salary[i] is the salary of the ith employee.…
C1 Min Read LetuscrackonNovember 15, 2025 Stock Buy & Sell Multiple Times – Maximum Profit Example Input/Output 1: Input:10 5 8 10 12 9 6 14 21 15 10 Output:22
C1 Min Read LetuscrackonNovember 12, 2025 Stock Buy & Sell Once – Maximum Profit Input:7 50 100 40 60 70 50 80Output:50
C Java Python1 Min Read LetuscrackonOctober 15, 2025 Maximum Value – Add or Product The program must accept N integers as the input. For each integer X among the given N integers, the program must print the…
Python1 Min Read LetuscrackonOctober 8, 2025 Array Maximum Sum Divisible By N n array of numbers separated by space will be passed as input. A number N is also passed as input. The program has to print the maximum sum of…
C Python1 Min Read LetuscrackonSeptember 3, 2025 Maximum Length – S1 and S2 The program must accept two string values S1 and S2 as the input. The program must print the string having the maximum…
Python1 Min Read LetuscrackonJuly 6, 2025 Maximum Number of Balls – Triangle Maximum Number of Balls – Triangle: In a game, there are (N*(N+1))/2 boxes arranged as a triangle based on the following…