Skip to content

Tag Archives: ASCII

Given two strings S and N of the same length, consisting of alphabetical and numeric characters respectively, the task is to generate a new string… Read More
Given two strings X and Y both consisting of N uppercase alphabets and an integer K, the task is to find the minimum count of… Read More
Given an array of strings arr[] consisting of N strings, the task is to categorize the strings according to the hash value obtained by adding… Read More
Given a string S of length N, the task is to make all characters of the string the same by incrementing / decrementing the ASCII… Read More
Given two N-length strings S and T consisting of lowercase alphabets, the task is to minimize the number of swaps of same indexed elements required… Read More
Given an integer N, the task is to print the ASCII value of all digits of N. Examples: Input: N = 8Output: 8 (56)Explanation:ASCII value… Read More
Given an alphanumeric string S of length N, the task is to sort the string in increasing order of their priority based on the following… Read More
Given two strings str1 and str2, the task is to check if the two given strings are isomorphic to each other or not. Two strings… Read More
Given string str, the task is to check if it is possible to rearrange the string such that the characters of each word of the… Read More
Given string str of length N, the task is to check if the given string contains only special characters or not. If the string contains… Read More
Given a string S, the task is to modify the given string by replacing every character S[i] by a new character whose value is (S[i]… Read More
Given string str of length N, the task is to check whether the given string contains uppercase alphabets, lowercase alphabets, special characters, and numeric values… Read More
Given two strings A and B, the task is to count the minimum number of operations required to convert the string A to B. In… Read More
Given a sorted array of characters arr[] and a character K, the task is to find the character with nearest smaller ASCII value than K… Read More
Given a string Str of length N, consisting of lowercase alphabets, the task is to generate a number in decreasing order of the frequency of… Read More