C Cognizant1 Min Read LetuscrackonApril 3, 2026 Function multiplyNum – CTS PATTERN You are required to correct the syntax of the given code without changing its logic. You can click on Compile & Run anytime to check the…
Python1 Min Read LetuscrackonApril 3, 2026 Forward and Reverse Order of Alphabets – Matrix Pattern Accept an integer N and an alphabet A as input. The program must print the pattern as shown in the Example Input/Output section below. (Note:…
Python1 Min Read LetuscrackonApril 2, 2026 All Digits – Pairs Count The program must accept N integers as the input. The program must print the number of pairs X where the concatenation of…
C Cognizant1 Min Read LetuscrackonMarch 31, 2026 getarraysum Logical Error – CTS PATTERN You can click on Run anytime to check the compilation/execution status of the program. You can use printf to debug your code. The submitted…
C1 Min Read LetuscrackonMarch 29, 2026 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…
Python1 Min Read LetuscrackonMarch 28, 2026 Matching Word – Replace ? The program must accept two string values P and S as input. The string P represents a pattern. The string S…
C1 Min Read LetuscrackonMarch 24, 2026 C – Function – Replace with Largest Number Given an integer array of size N as input, the program must replace every element of the array with the largest number that can be formed by…
C1 Min Read LetuscrackonMarch 23, 2026 Array Rotate Forward – R times An array of N integers is passed as the input to the program and the program must rotate the elements R times in forward direction. Input…
C1 Min Read LetuscrackonMarch 22, 2026 C – Function – Reverse In Groups Given an array of integers of size N and size of group R as input, the program must reverse and print every R elements in the array. Please…
C2 Min Read LetuscrackonMarch 20, 2026 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…