C1 Min Read LetuscrackonJune 10, 2024 Pattern – Half Pyramid Reverse Given a positive integer value N as input, print the pattern as in the Example Input/Output section. Input Format:The first line contains N.…
C Dynamic Programming2 Min Read LetuscrackonJune 9, 2024 String & Asterisks Zig-Zag Pattern The program must accept a string S and an integer N as the input. The program must form a character matrix of size NxN with the asterisks (*).…
C1 Min Read LetuscrackonJune 9, 2024 Distance Travelled + or – The program must accept a string S representing the direction of movement as the input. The string S contains only the…
C1 Min Read LetuscrackonJune 9, 2024 Replace Vowels – Circular Fashion The program must accept a string S as the input. The program must replace all the vowels in S by the…
C1 Min Read LetuscrackonJune 9, 2024 Same Adjacent – Asterisks The program must accept a string S as the input. The program must print YES if the adjacent characters of each asterisk (*) are same. Else the…
C1 Min Read LetuscrackonJune 9, 2024 Characters – Factors of Length The program must accept a string S as the input. The program must calculate the length of string S as L. Then the program must print the…
C1 Min Read LetuscrackonJune 9, 2024 Mixed Series – From Xth term to Yth term The program must accept the first four terms of a mixed series and two integers X and Y as the input. The program must print all the terms…
C1 Min Read LetuscrackonJune 9, 2024 Strict Professor – Class Cancellation In a college , a professor is strict and mandates that at least M students out of the total N students must arrive on time to his…
C1 Min Read LetuscrackonJune 9, 2024 Robot – Stair Climbing There are N stairs to be climbed in a building. A robot can take only S different leaps each containing certain distinct…
C Java Python2 Min Read LetuscrackonJune 9, 2024 Split & Check Prime Integers The program must accept an integer N as the input. The program must split the integer N into two parts and print them if both are prime…