C1 Min Read LetuscrackonMarch 29, 2026 Structure – Item with Maximum Price N items are passed as the input along with id, name and price. All the N items will have distinct price. Print the item details which has…
C2 Min Read LetuscrackonMarch 20, 2026 Maximum Sum in Array – M out of N Given N positive integers, find the maximum sum S that can be obtained by adding exactly M out of the N integers. The program must print the…
C1 Min Read LetuscrackonJanuary 31, 2026 Maximum Goods Transported Program Maximum Goods Transported Program: There are goods to be transported by trains through a series of N stations which are numbered from 1 to N.…
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…