C1 Min Read LetuscrackonJune 11, 2024 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 LetuscrackonJune 11, 2024 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 LetuscrackonJune 10, 2024 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 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…
C1 Min Read LetuscrackonJune 10, 2024 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 LetuscrackonJune 9, 2024 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 LetuscrackonJune 9, 2024 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 LetuscrackonJune 9, 2024 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