Java1 Min Read LetuscrackonDecember 11, 2024 Maximum by Single Digit Replacement Maximum by Single Digit Replacement: Two integers M and N are passed as the input to the program. The program must print the maximum value of…
Java1 Min Read LetuscrackonNovember 15, 2024 Maximum Target Hits in Sequence In a shooting competition, whenever the target is hit, the score is increased by 1. When the target is missed the score is decreased by 1.…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Enclose Number Between its Maximum and Minimum Digits In the realm of digital data analytics and number theory, understanding the range and distribution of digits within a number is crucial. This…
C Java Python4 Min Read LetuscrackonJune 12, 2024 Find the Maximum Element in a Matrix You are given a matrix of size R*C containing integers. Write a program to find the maximum element present in the matrix. Note: Make sure to…
Dynamic Programming Python1 Min Read LetuscrackonJune 11, 2024 DP – Maximum Sum Subarray An array of N integers (both positive and negative) is given as the input to the program. The program must print the maximum sum of the…
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…