Dynamic Programming Python LetuscrackonJanuary 27, 2026 Palindromic Partition The program must accept a string S as the input. The program must print the minimum number of cuts required so that all the…
Python LetuscrackonJanuary 27, 2026 String – Print till char A string S is passed as input along with a character C. The program must print the string value S till C is reached. Input Format:The first…
Dynamic Programming Java LetuscrackonJanuary 26, 2026 Longest Palindromic Substring The program must accept a string S as the input. The program must print the length of longest palindromic substring in the string S…
C Java JavaScript Python LetuscrackonJanuary 26, 2026 Xth Rank – Students The name and score of N students in a test are passed as input to the program. Also, an integer X is passed as input to…
C LetuscrackonJanuary 25, 2026 Unit Digit – Ascending and Descending The program must accept two integers as the input. The program must sort the two integers in ascending order based on their unit digit and…
Dynamic Programming Python LetuscrackonJanuary 25, 2026 Wildcard Pattern Matching The program must accept a text and a wildcard pattern as the input. The program must print “Matching” if…
C LetuscrackonJanuary 24, 2026 Pyramids and Patterns Here is a list of programs you will find in this page. Half pyramid of * Half pyramid of numbers Half pyramid of alphabets Inverted half…
C Dynamic Programming LetuscrackonJanuary 24, 2026 Largest Square Sub Matrix with 1s ExampleInput/Output 1:Input:7 51 1 1 0 11 1 0 1 00 1 1 1 11 1 1 1 11 1 1 1 11 1 1 1 10 0 0 0 0 Output:4
C Java Python LetuscrackonJanuary 23, 2026 Replace Max Digit – Two Integers The program must accept two integers X and Y as the input. The program must replace all the occurrences of the maximum digit in X with the…
C LetuscrackonJanuary 23, 2026 Characters at multiples of X Example Input/Output 1:Input:abcdexyzwqpoolj5 Output:eqj Explanation: The multiples of 5 are like 5, 10, 15,… So the characters in these…