Python1 Min Read LetuscrackonMarch 26, 2025 Square Even and Cube Odd Square Even and Cube Odd: Given an array of integers of size N as input, the program must print the square of even elements and the cube of…
Python1 Min Read LetuscrackonMarch 17, 2025 Sum of Digits is Even or Odd Sum of Digits is Even or Odd: Given an integer N as input, the program must print Yes if the sum of digits in a given number is…
Python1 Min Read LetuscrackonMarch 4, 2025 Both Adjacent Elements – Odd or Even Both Adjacent Elements – Odd or Even: Given an array of N positive integers, print the positive integers that have both the adjacent…
Cognizant1 Min Read LetuscrackonFebruary 23, 2025 Odd or Even – CTS PATTERN Odd or Even: You are required to fix all logical errors in the given code. You can click on run anytime to check the compilation/execution…
C ZOHO1 Min Read LetuscrackonJanuary 31, 2025 Odd length string diagonal pattern [ZOHO] Given a string S of odd length L, the program must print it twice as diagonals with the middle letter being the point of intersection.…
Python1 Min Read LetuscrackonJanuary 31, 2025 Square Matrix – Odd Integers The program must accept N integers and print a square matrix of size K*K with the odd integers present. In case there are…
Python2 Min Read LetuscrackonJanuary 29, 2025 Sort Rows by Prime, Even and Odd count Sort Rows by Prime, Even and Odd count: An integer matrix of size R*C is given as input. The program must sort the rows based on the number…
Python1 Min Read LetuscrackonNovember 18, 2024 Sum of odd numbers from M to N Two numbers M and N are passed as the input. The program must print the sum of odd numbers from M to N (inclusive of M and N). Input…
Python1 Min Read LetuscrackonNovember 6, 2024 Odd Integers In Range Program in Python The program must accept two integers X and Y and print the odd integers between them. Input Format:The first line denotes the value of X.The…
Python2 Min Read LetuscrackonNovember 3, 2024 Python Program for Interlace odd / even from A to B Two numbers A and B are passed as input. The program must print the odd numbers from A to B (inclusive of A and B) interlaced with the even…