Python1 Min Read LetuscrackonJune 12, 2024 1 to N – Mixed Pattern Printing The program must accept a number N and print the numbers from 1 to N with the first number being 1, second number being N, third being 2 and…
Java1 Min Read LetuscrackonJune 11, 2024 Sort – Odd & Even Ascending An array of N numbers is passed as the input. The program must sort the odd numbers and even numbers separately in ascending order. The odd…
Cognizant1 Min Read LetuscrackonJune 11, 2024 Function lengthOfLastWord – 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 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…