C2 Min Read LetuscrackonFebruary 8, 2025 Longest String – Diagonally Longest String – Diagonally: The program must accept a character matrix of size RxC and the position of a cell (X, Y) as the input. The…
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…
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 22, 2025 Search String S2 in S1 Character Matrix Search String S2 in S1 Character Matrix: Given two strings S1 and S2, form a R*C matrix with the string S1 (You may repeat the string S1 to…
C1 Min Read LetuscrackonJanuary 8, 2025 String Compression String Compression: Given a string S, compress the string by its character and its count as specified in the sample input…
Python1 Min Read LetuscrackonJanuary 6, 2025 String Alphabet Count String Alphabet Count: Given a string S with only alphabets, print the alphabet and it’s count as shown in the Example Input/Output…
C1 Min Read LetuscrackonDecember 10, 2024 Decreasing String in Center – Pattern A string S is passed as the input to the program. The program must print the pattern as shown in the Example Input/Output…
Python1 Min Read LetuscrackonNovember 29, 2024 Form String by Rotation Given two strings S1 and S2, print yes if S2 can be obtained by rotating the string S1. Else print no. Boundary Condition(s):1 <= Length of…
C TCS CodeVita1 Min Read LetuscrackonNovember 26, 2024 Super ASCII String Checker – TCS CodeVita The program must accept N string values as the input. For each string S among the N string values, the program must…
C Python1 Min Read LetuscrackonNovember 16, 2024 Alphabet Count – Repeated String A string S is passed as input to the program. The string S is repeated till the repeated string R is of length N. The program must print the…