Cognizant1 Min Read LetuscrackonFebruary 24, 2025 Array Reversal – CTS PATTERN Array Reversal – CTS PATTERN: Code Approach: For this question, you will need to implement the logic for the program. The function…
C Python ZOHO2 Min Read LetuscrackonFebruary 1, 2025 2D String Array Sub-String Search [ZOHO] 2D String Array Sub-String Search: Given a string S of length L, the program must store the characters of the string S in a two dimensional…
Python1 Min Read LetuscrackonDecember 8, 2024 Triangle Count from Array Program In Python An array of N integers is passed as the input to the program. The program must print the count of triangles that can be formed with the given…
Python1 Min Read LetuscrackonJune 13, 2024 Array Frequency Equals Value The program must accept N integer values and print the values which are equal to the count of their occurrence (in ascending order). If there…
Python ZOHO1 Min Read LetuscrackonJune 12, 2024 Array Numbers – Greater Than Previous [ZOHO] N integer values (positive, zero or negative) are passed as input to the program. The program must print the values of the integers (in the…
Java Python ZOHO1 Min Read LetuscrackonJune 12, 2024 Array LEADERS [Zoho] An array of N numbers is passed as input. The program must print all the LEADERS in the array. A number is a LEADER if it…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Spilt Array – Equal Sum The program must accept an integer array of size N as the input. The program must print YES if it is possible to split the array…
C1 Min Read LetuscrackonJune 12, 2024 C – Find the sum of the largest and smallest number in an Array. N numbers are passed as input to the program. The program must find the sum of the largest and smallest number in the Array. Input Format:The…
Cognizant1 Min Read LetuscrackonJune 12, 2024 Function removeElement from Array – 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…
Python1 Min Read LetuscrackonJune 12, 2024 Array Elements – Max Divisible by D An array of N positive integers are passed as input. D which is a positive integer is also passed as the input. The program must print the…