Python1 Min Read LetuscrackonFebruary 10, 2025 Non Common Alphabets Non Common Alphabets: Two strings S1 and S2 are passed as input. The program must print the non-common alphabets in the…
Python3 Min Read LetuscrackonJanuary 14, 2025 Reverse and Print Common Characters in Two Strings Using Python This article focuses on a Python program to find common characters between two strings after reversing the second string. It is an efficient…
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…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Common Digits in Two Numbers The program must accept two integers A and B as the input. The task is to print all the unique digits that are present in both numbers. The…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Common Characters – Same Position The program must accept N string values are of equal length as the input. The program must print the common characters at the same position in…
C Java Python3 Min Read LetuscrackonJune 11, 2024 Common Alphabets N Strings N string values are passed as input to the program. Each string will contain only the alphabets a-z in lower case. A given alphabet may be…
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.…
Java1 Min Read LetuscrackonJune 11, 2024 Count of common factors Given a set of numbers, the program must find the count of the common factors C excluding 1. Input Format:First line will contain the integer…
C1 Min Read LetuscrackonJune 10, 2024 First N Common Characters Two string values S1, S2 are passed as the input. The program must print first N characters present in S1 which are also present in S2. Input…
Python1 Min Read LetuscrackonJune 9, 2024 Count of Common Characters in the Strings Two string values S1 and S2 are passed as input. The program must print the count of common characters in the strings S1 and S2. Input Format:…