Python1 Min Read LetuscrackonJune 11, 2024 Reverse Middle Value A string S will be passed as input to the program. The program must reverse the characters in between the first and last letters and print the…
Python1 Min Read LetuscrackonJune 11, 2024 Reverse X to Y Position Characters A string S and two integers X and Y are passed as input. The program must print the characters in the string S from position X to position Y…
Python1 Min Read LetuscrackonJune 11, 2024 Reverse String Rank among SubStrings A string S is passed as the input. The program must generate the set (all unique) of all the substrings of S in the reverse order…
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…