Skip to content

Tag Archives: ASCII

Given string str of size N, the task is to find the sum of all ASCII values of the characters which are present at prime… Read More
Given a string str which represents the ASCII Sentence, the task is to convert this string into its equivalent character sequence.Examples:   Input: str = “71101101107115” Output:… Read More
Given string str, the task is to minimize the sum of ASCII values of each character of str after removing every occurrence of a particular… Read More
Given a character, the task is to check whether the given character is in upper case, lower case, or non-alphabetic character Examples:   Input: ch = 'A'… Read More
Given a string S. The task is to count and print the number of characters in the string whose ASCII values are prime. Examples:  Input:… Read More
Given a string str, the task is to count the number of alphabets having ASCII values, not in the range [l, r]. Examples:  Input: str… Read More
Given a sentence, the task is to find the average of ASCII values of each word in the sentence and print it with the word.… Read More
You are given an array of strings str, the task is to find the score of a given string s from the array. The score… Read More
Given a string, the task is to count the number of words whose sum of Ascii values is less than and greater than or equal… Read More
Given a string including lowercase alphabets and numeric digits. The task is to construct another string which consists of the sum of digits followed by… Read More
Given a string str, the task is to count the number of alphabets having ASCII in the range [l, r]. Examples:  Input: str = "geeksforgeeks"… Read More
Given a string, the task is to count the number of alphabets having ASCII values less than and greater than or equal to a given… Read More
Given a string str. The task is to find the product of ASCII values of characters in the string. Examples:  Input : str = "IS"… Read More
Given a string str of lowercase alphabets only. The task is to replace every character by some new character. The new character belongs to (small case… Read More
Given a very large Number N. The task is to check if the number can be divided into two or more segments of an equal… Read More

Start Your Coding Journey Now!