C1 Min Read LetuscrackonJune 12, 2024 Reverse String – Vowels Retain Same Position Given a string S1 as the input, the program must reverse the string, keeping the vowels in the same position. Input Format:The first line…
Java1 Min Read LetuscrackonJune 11, 2024 Reverse Columns In Matrix Given a square matrix of size N, reverse column values in the matrix and print the modified matrix as the output. Boundary Condition:1<= N…
C1 Min Read LetuscrackonJune 11, 2024 String – Reverse Vowels Given a string S, reverse only the vowels in the string S and print the resultant string R as the output. The consonants must maintain their…
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…