What is a pangram?

Image credits: link

Pangram is a sentence that uses every letter of a given alphabet at least once. It is also known as holoalphabetic sentence. The best known English pangram is "The quick brown fox jumps over the lazy dog." You might have seen this sentence in Notepad or in MS Word when you try choosing a font in the font settings dialog box. Softwares use it to display font samples. Pangrams are also used to test equipment and improve skills in handwriting, calligraphy and keyboarding.

Pangram Calligraphy

I found and solved a problem on HackerRank that asks you to write a program to check whether the input sentence is a pangram or not.

Read the problem statement here: https://www.hackerrank.com/challenges/pangrams/problem



This is my solution to it:


Here is a list of other pangrams: https://gist.github.com/thecoducer/f8a26c478a9acbe8288fdadffdf782a2. You can run the code locally and try checking the pangrams in this list.

I just found an article on the web titled, "Shashi Tharoor attempts to crack world’s shortest pangram in Facebook post". You might be interested to check it out.

Happy programming!

Comments