string

CF

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…
PythonF

Split String & Sort

An even length string S is passed as the input. The program must split the string into two parts S1 and S2 and sort them in ascending order.…
PythonF

Sort Integers in String

The program must accept a string S which has only numbers and underscores as the input. The program must print only the integers…
PythonF

Pangram String

A string S is passed as the input to the program. If S is a pangram, the program must print yes else it must print no. Uppercase and lower…
PythonF

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…