Python1 Min Read LetuscrackonNovember 30, 2024 Vehicle Pooling – Fully Occupied Program In Python A group of N people are on a tour and they pool R vehicles to travel. The capacity of the R vehicles are passed as the input. In how many ways…
Python1 Min Read LetuscrackonNovember 29, 2024 Python Program To Check Triplet Sum N integers are passed as input to the program. The program must print the count of triplets (combination of three integers) which add up to a…
Python1 Min Read LetuscrackonNovember 28, 2024 Python Program To Find Sub-strings at least K vowels A string S of length L and an integer K is passed as the input. The program must sort and print the count of all the unique sub-strings (with…
Python1 Min Read LetuscrackonNovember 27, 2024 Python Program To Check Subsequence Of Two Strings The program must accept two string values S1 and S2 as the input. The program must print Found if S2 is a subsequence of S1. Else the program…
Python1 Min Read LetuscrackonNovember 26, 2024 Python Program To Sort K length Sub-Strings A string S of length L and an integer K is passed as the input. The program must sort and print all…
Python1 Min Read LetuscrackonNovember 12, 2024 Python Program to Print All Vowels Accept a string S as the input and print all the vowels in S as the output. If there is no vowel in S then the program must…
Python1 Min Read LetuscrackonNovember 12, 2024 Python Program To Print Fibonacci Sequence An integer value N is passed as the input. The program must print the first N terms in the Fibonacci sequence. Input Format:The first line…
LetuscrackonNovember 10, 2024 Program to Find the nth term of the series 1, 1, 2, 3, 4, 9, 8, 27, 16, 81, 32, 243,64, 729, 128, 2187…,, This series is a mixture of 2 series – all the odd terms in this series…
Python1 Min Read LetuscrackonNovember 6, 2024 Python Program To Remove First and Last Characters in a String The program must accept a String value S and remove the first and last characters. Input Format:The first line denotes the value of S. Output…
Python1 Min Read LetuscrackonNovember 6, 2024 Odd Integers In Range Program in Python The program must accept two integers X and Y and print the odd integers between them. Input Format:The first line denotes the value of X.The…