C LetuscrackonOctober 7, 2025 Collatz Sequence number N is passed as the input. The program must print the number of steps required for the program to reach Collatz sequence (that is reach…
Python LetuscrackonOctober 7, 2025 Remove characters occurring multiple times A string S is passed as the input. The program must remove all characters which appear more than once. If all the characters in a string are…
Python LetuscrackonOctober 6, 2025 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…
Python LetuscrackonOctober 6, 2025 Only Fibonacci N integers are passed as input. The program must print only the integers that are present in the Fibonacci series. Input Format: The first…
Python LetuscrackonOctober 5, 2025 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…
Python LetuscrackonOctober 5, 2025 Binary Reverse Pairs The program must accept Noddintegers and print all possible pairs of integers (X, Y) where the binary representation of X…
Python LetuscrackonOctober 4, 2025 Find AM or PM A string S which represents the time in 24 hour format HH:MM is passed as input. The program must find if it is AM or PM and print it as…
Python LetuscrackonOctober 4, 2025 Numbers – First and Last Digits Same N numbers A(1) to A(N) are passed as input. The program must print only the X numbers which have same first and last digit. Input Format:The…
C Python LetuscrackonOctober 3, 2025 Bank Account Balance [AVERAGE] In a given month, N transactions related to a bank account are passed as the input along with the initial balance IB present in the bank…
C Python LetuscrackonOctober 3, 2025 Remaining Balloon Numbers Remaining Balloon Numbers: There are N filled balloons each painted with a random number B(i) where i is from 1 to N and the balloons are tied…