C Dynamic Programming1 Min Read LetuscrackonFebruary 8, 2025 No Consecutive Digit Substring Count No Consecutive Digit Substring Count: Orlando wants to print the count of substrings in a digit string value S (which contains only digits 0…
C Dynamic Programming2 Min Read LetuscrackonFebruary 5, 2025 Largest Integer The casino has introduced a new game in which there are M vertical chutes each containing N single digit (possibly zero) numbers. You can…
C Dynamic Programming Python TCS CodeVita4 Min Read LetuscrackonFebruary 4, 2025 Chakravyuha – TCS CodeVita Chakravyuha – TCS CodeVita: During the battle of Mahabharat, when Arjuna was far away in the battlefield, Guru Drona made a Chakravyuha…
C Dynamic Programming1 Min Read LetuscrackonFebruary 2, 2025 Pattern Printing for N Comma Separated Values Pattern Printing for N Comma Separated Values: The below program must print the given array of numbers in the given format for a given size N.…
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…
C Dynamic Programming2 Min Read LetuscrackonJanuary 21, 2025 Knight Kills King Knight Kills King: A knight in a chess game is determined to kill the enemy king. The chess board is of the size N*N. The knight can move…
C Dynamic Programming1 Min Read LetuscrackonJanuary 18, 2025 Stair Climbing Combinations Stair Climbing Combinations: An integer M representing the number of steps in a stair and N sorted integers representing the number of steps…
C Dynamic Programming2 Min Read LetuscrackonJanuary 17, 2025 Minimum Cost – Toll Plaza Program Minimum Cost – Toll Plaza Program: A taxi driver needs to drop his customer to a place. There are many toll plazas through which the…
Dynamic Programming Python1 Min Read LetuscrackonJune 13, 2024 Longest Common Subsequence Length The program must accept two string values A and B as the input. The program must print the length of the longest common subsequence of the two…
Dynamic Programming Python1 Min Read LetuscrackonJune 13, 2024 Count Overlapping String Pattern Two string values S and P representing a string and pattern are passed as the input to the program. The program must print the number of…