# Tag Archives: ASCII (adsbygoogle = window.adsbygoogle || []).push({});

## Check if a large number can be divided into two or more segments of equal sum

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 »

## Check if a String can be converted to Pangram in K changes

Given a String str containing only lowercase English alphabets and an integer K. The task is to check that whether the string can be converted… Read More »

## Check if a string contains only alphabets in Java using ASCII values

Given a string, the task is to check whether a string contains only alphabets or not using ASCII values in JAVA. Examples: Input : GeeksforGeeks… Read More »

## Average of ASCII values of characters of a given string

Given a string, the task is to find the average of ASCII values of characters in the string. Examples: Input: str = “for” Output: 109… Read More »

## Program to display all alphabets from A to Z in uppercase and lowercase both

Alphabets in lowercase and uppercase can be printed using two methods, first is using ASCII values and second is to directly print values from ‘A’… Read More »

## Sort string of characters using Stack

Given a string of characters. The task is to write a program to print the characters of this string in sorted order using stack. Examples:… Read More »

## Longest string in non-decreasing order of ASCII code and in arithmetic progression

Given a non-empty string S of uppercase alphabets of length L and the task is to find the longest string from the given string with… Read More »

## Prime String

Given a String str , the task is to check if the sum of ASCII value of all characters is a Prime Number or not.… Read More »

## Program to print reciprocal of letters

Given a string S, we need to find reciprocal of it. The reciprocal of the letter is found by finding the difference between the position… Read More »

## Print given sentence into its equivalent ASCII form

Given a string containing words forming a sentence(belonging to english language). The task is to output the equivalent ASCII sentence of the input sentence. ASCII… Read More »

## Map function and Dictionary in Python to sum ASCII values

We are given a sentence of english language(can also contain digits), we need to compute and print the sum of ASCII values of characters of… Read More »

## Program to print ASCII Value of a character

Given a character, we need to print its ASCII value in C/C++/Java/Python. Examples : Input : a Output : 97 Input : D Output :… Read More »

## Program to implement ASCII lookup table

ASCII stands for American Standard Code for Information Interchange. Computers can only understand numbers, so an ASCII code is the numerical representation of a character… Read More »

## ascii() in Python

ascii() returns a string containing a printable representation of an object and escape the non-ASCII characters in the string using \x, \u or \U escapes.… Read More »

## Program to find the largest and smallest ASCII valued characters in a string

Given a string of lower case and uppercase characters, your task is to find the largest and smallest alphabet (according to ASCII values) in the… Read More »