C1 Min Read LetuscrackonJune 8, 2024 Reverse Order – print N to 1 A number N is passed as the input. The program must print the numbers from N to 1 (inclusive of N). Input Format: The first line denotes the…
Python1 Min Read LetuscrackonJune 8, 2024 Binary Reverse Pairs The program must accept Noddintegers and print all possible pairs of integers (X, Y) where the binary representation of X…
Python1 Min Read LetuscrackonJune 7, 2024 Last Two Bits in Reverse The program must accept an integer N as the input. The program must print the last two bits of N in reversed order as the output. Example…
C Python1 Min Read LetuscrackonJune 7, 2024 Reverse Every Word The program must accept a string S containing multiple words as the input. The program must reverse every word in the string S. Then the…
Python1 Min Read LetuscrackonJune 7, 2024 N Characters Forward Reverse The program must accept a string S and an integer value N. Then the program must print the first N characters, then must print the next N…
Python1 Min Read LetuscrackonJune 7, 2024 Reverse Column – First and Last The program must accept an integer matrix of size RxC as the input. The program must reverse all the elements in the column if the…
C1 Min Read LetuscrackonJune 7, 2024 Reverse Repeat N Alphabets The program must accept a string S and repeat the alphabets from the end till a new string S2 of length N is formed. Then the program must…