C Dynamic Programming1 Min Read LetuscrackonJanuary 23, 2025 DP – WORD BREAK DP – WORD BREAK: A string S and N words are given as the input to the program. The program must print Yes if each word among the N words…
Python1 Min Read LetuscrackonDecember 11, 2024 Word Game – Start End Letters To begin the game, let us say a word W is considered as the first word. The second word is the word which has the last letter of the first…
LetuscrackonNovember 13, 2024 Word is Key – TCS NQT Question 3 One programming language has the following keywords that cannot be used as identifiers: break, case, continue, default, defer, else, for,…
Python1 Min Read LetuscrackonJune 11, 2024 Matching Word – Replace ? The program must accept two string values P and S as input. The string P represents a pattern. The string S…
C2 Min Read LetuscrackonJune 9, 2024 Word Search in Matrix The program must accept a character matrix of size R*C and a string S as input. The program must search the string S in…
C Java1 Min Read LetuscrackonJune 9, 2024 Word slot A Square Matrix of N Rows and N Columns is passed as the input and also a String S of Length L is passed as input. The matrix has an empty…
Python1 Min Read LetuscrackonJune 8, 2024 Word histogram Histogram is a graphical representation drawn based on the frequency of occurrence of things. Histogram for a word is drawn based on the…
Python1 Min Read LetuscrackonJune 8, 2024 String Word Counter Given a string S as input which consists of multiple words separated by a space, the program must print the count C of the words which are…
C Python2 Min Read LetuscrackonJune 7, 2024 Word Repeated Twice The program must accept a string S containing multiple words as the input. The program must print the word which is repeated twice in the…
C Python1 Min Read LetuscrackonJune 7, 2024 Reverse Every Word The program must accept a string S containing multiple words as the input. The program must reverse every word in the string S. Then the…