Cognizant1 Min Read LetuscrackonJune 11, 2024 Function getMaxLengthOfContinuousChar – 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…
Cognizant1 Min Read LetuscrackonJune 11, 2024 Function printArrayCircular – CTS PATTERN You are required to fix all the logical errors in the given code. You can click on Run anytime to check the compilation/execution status of…
Cognizant1 Min Read LetuscrackonJune 11, 2024 Function printLCM – CTS PATTERN You are required to complete the given code by reusing existing functions. You can click on Run button anytime to check the…
Cognizant1 Min Read LetuscrackonJune 11, 2024 Function compressString – CTS PATTERN You are required to fix all the logical errors in the given code. You can click on Run anytime to check the compilation/execution status of…
Cognizant1 Min Read LetuscrackonJune 11, 2024 Function alphaInReversePos – CTS PATTERN You are required to fix all the logical errors in the given code. You can click on Run anytime to check the compilation/execution status of…
Dynamic Programming Python1 Min Read LetuscrackonJune 11, 2024 DP – Longest Common Substring Length Two string values S1 and S2 are passed as the input to the program. The program must print the length of the longest common substring.…
Cognizant1 Min Read LetuscrackonJune 11, 2024 Function firstRepeatCharacter – CTS PATTERN You are required to fix all the logical errors in the given code. You can click on Run anytime to check the compilation/execution status of…
C Python ZOHO1 Min Read LetuscrackonJune 11, 2024 Even Length Substring – Equal Sum Halves [Zoho] Even Length Substring – Equal Sum Halves: Given a string S as input which consists only of digits from 0 to 9, print the longest…
Python1 Min Read LetuscrackonJune 11, 2024 Array – Next Greater Element [Zoho] Given an array of positive integers, print the next greater element for every element in the Array.The next greater element for a given…
C1 Min Read LetuscrackonJune 11, 2024 Longest Set – Absolute Difference Less Than One An array of N integers is passed as input. The program must print the length of the longest set of integers among the N numbers so that the…