Java Python1 Min Read LetuscrackonJanuary 20, 2025 Decreasing Sequence from N Decreasing Sequence from N: Two integers N and D are passed as input. The program must print the decreasing sequence from N to 1 with common…
Python1 Min Read LetuscrackonDecember 27, 2024 Infinite Sequence Nth Digit Infinite Sequence Nth Digit: The program must accept an integer value N and print the Nth digit in the integer sequence 1, 2, 3, 4, 5, 6, 7,…
Java1 Min Read LetuscrackonNovember 15, 2024 Maximum Target Hits in Sequence In a shooting competition, whenever the target is hit, the score is increased by 1. When the target is missed the score is decreased by 1.…
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…
C Java1 Min Read LetuscrackonJune 12, 2024 Pattern Printing N – Sequence 001 The program must accept an integer N and print the pattern as shown in the Example Input/Output. Input Format: The first…
Python1 Min Read LetuscrackonJune 11, 2024 Sequence – Based on Previous Term The program must accept an integer N as the input. The program must generate a sequence of integers based on the following conditions. –…
Python1 Min Read LetuscrackonJune 11, 2024 Number Sequence Sort The program must accept and sort N number sequences. A number sequence can be multiplication, power or a normal number. The sorted list should…
C3 Min Read LetuscrackonJune 11, 2024 Missing Number In Sequence A set of numbers which are in sequence are arranged in descending order as a string S. But one of the number in the sequence is missing in…
C1 Min Read LetuscrackonJune 9, 2024 Max Streak Winning Sequence Alok is playing N round of card games with his friend Brinda. He gets postive or negative points based on whether he won or lost in a specific…
C1 Min Read LetuscrackonJune 8, 2024 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…