Python1 Min Read LetuscrackonFebruary 12, 2026 Sum – Unit Digit 3 or 6 The program must accept N integers as the input. The program must print the sum of integers having the unit digit as 3 or 6 as the…
C1 Min Read LetuscrackonFebruary 5, 2026 Reversed Sum of Pairs An array of N integers is passed as input. The program must print the sum of every two consecutive elements in the array from last. Boundary…
C Dynamic Programming1 Min Read LetuscrackonFebruary 2, 2026 Codu and Sum Love Given N number of x‘s, perform logic equivalent of the below Java code and print the output. Boundary Condition(s):1…
C Java Python TCS CodeVita2 Min Read LetuscrackonJanuary 16, 2026 Consecutive Prime Sum – TCS CodeVita Some prime numbers can be expressed as a sum of other consecutive prime numbers. For example 5 = 2 + 3, 17 = 2 + 3 + 5 + 7, 41 = 2 + 3 + 5 + 7…
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…
C1 Min Read LetuscrackonJanuary 12, 2026 Sum Of First and Last Alternate Elements Given an integer array of size N, print the sum of first and last number, second first and second last number and so on.Note:N is always…
C1 Min Read LetuscrackonJanuary 5, 2026 Sum of Dice Values Pairs of integers are passed as the input to the program. The integers in each pair represent values of two dice in a game. If both the values…
C1 Min Read LetuscrackonDecember 23, 2025 Matrix Diagonals Sum You are given a square matrix of size N*N.Calculate the sum of integers present in the two main diagonals Example 1: Input:35 10 1179 6 129 21…
C1 Min Read LetuscrackonDecember 21, 2025 Minimum Sum – M out of N Given N positive integers, find the minimum sum S that can be obtained by adding exactly M out of the N integers. The program must print the…
C1 Min Read LetuscrackonDecember 7, 2025 2D Matrix – Elements Adjacent Sum Given a matrix of R rows and C columns, for each element print the sum of the adjacent elements.Input Format:The first line contains RThe…