Python1 Min Read LetuscrackonJune 11, 2024 1 to N – Forward and Reverse Interlaced The program must accept a number N and print the numbers from 1 to N in both forward and reverse direction interlaced with each otherINPUT…
Python1 Min Read LetuscrackonJune 11, 2024 Forward and Reverse Order of Alphabets – Matrix Pattern Accept an integer N and an alphabet A as input. The program must print the pattern as shown in the Example Input/Output section below. (Note:…
Python1 Min Read LetuscrackonJune 11, 2024 String Reverse Decryption Given an integer X and a string S (encrypted string) as input, the encryption algorithm is given below. – Iterate over all the divisors…
C1 Min Read LetuscrackonJune 11, 2024 Complete Array reverse Method An array of N integers is passed as the input to the program and the program must print the array after reversing it. Complete the method…
C1 Min Read LetuscrackonJune 11, 2024 C – Function – Reverse In Groups Given an array of integers of size N and size of group R as input, the program must reverse and print every R elements in the array. Please…
C1 Min Read LetuscrackonJune 11, 2024 Array Reverse In Groups of M An array of N integers is passed as the input to the program and the program must reverse the elements in groups of size M.If the last group…
Python1 Min Read LetuscrackonJune 11, 2024 Difference between a number and it's reverse The number N is passed as input. The program must print the difference between the number N and it’s reverse R. Input Format:The first…