Python1 Min Read LetuscrackonJune 12, 2024 Even Sum or Factors The program must accept two integers M and N as the input. If M is even then the program must print the integers from 1 to N whose sum of the…
C Java Python4 Min Read LetuscrackonJune 12, 2024 Find the Sum of All Elements in a Matrix You are given a matrix of size R*C containing integers. Write a program to find the sum of all elements present in the matrix. Note: Make sure…
Python1 Min Read LetuscrackonJune 11, 2024 Sum of Embedded Numbers String S is passed as the input to the program. S will have positive numbers in it along with other characters. The program must print the sum…
C Python ZOHO1 Min Read LetuscrackonJune 11, 2024 Even Length Substring – Equal Sum Halves [Zoho] Even Length Substring – Equal Sum Halves: Given a string S as input which consists only of digits from 0 to 9, print the longest…
Python1 Min Read LetuscrackonJune 11, 2024 Sum of Even & Odd Numbers N numbers will be passed as input to the program. The program must print the sum of even numbers followed by the sum of odd numbers. Input…
Python1 Min Read LetuscrackonJune 11, 2024 Sum of N Integers – Even Reversed The program must accept N integers and print the sum S of all POSITIVE integers with the even positive integers reversed. Input…
C Python1 Min Read LetuscrackonJune 11, 2024 Two Digits Numbers Sum Accept an array of N values and print the sum S of all the two digit numbers present in the array. If there are no two digit numbers, print…
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…
Python1 Min Read LetuscrackonJune 11, 2024 Sum of Prime Numbers Given an integer matrix of size M*N as input, the program must print the sum of prime numbers present in the given matrix. Boundary…
C4 Min Read LetuscrackonJune 11, 2024 N Integers – Sum S – All Combinations A number S is passed as input. Also N positive unique integers are passed as input to the program. One or more numbers (out of these N…