C Python LetuscrackonDecember 3, 2025 Array Element Adjacent Sum Given an Array of length N, the program must print the sum of adjacent numbers of elements present in the array.Input Format:First line…
C Python LetuscrackonDecember 2, 2025 2D Matrix Absolute Difference Diagonals Elements Sum A Square Matrix has N rows and N columns. Get the matrix as input and find the absolute difference between the sum of the values in the two…
C Python LetuscrackonDecember 2, 2025 String – Count Articles A string S is passed as the input. The program must print the number of articles in S. The string S passed as the input NEEDNOT be corrected…
C Python LetuscrackonDecember 1, 2025 Restaurant – Lucky Numbers Discount Every day in a restaurant two numbers X and Y are considered lucky numbers. If the bill amount B is divisible by X, then X% discount is…
Hackerrank Python 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.…
C Java LetuscrackonNovember 30, 2025 Leap Year A year Y will be passed as input. The program must find if the given year is a leap year or not. If it is a leap year, print yes…
Python LetuscrackonNovember 30, 2025 Count Odd Numbers in an Interval Range Given two non-negative integers low and high. Return the count of odd numbers…
Python LetuscrackonNovember 29, 2025 Incorrect Keyboard Suman’s keyboard got damaged as he dropped it from a considerable distance. As a result instead of K the keyboard may sometimes display…
C LetuscrackonNovember 29, 2025 Matrix Traverse Clockwise A square matrix of size N*N is provided. The program must traverse the matrix spirally and print the elements in a single line. Input…
C Java LetuscrackonNovember 28, 2025 Word slot A Square Matrix of N Rows and N Columns is passed as the input and also a String S of Length L is passed as input. The matrix has an empty…