# String

## Check if the Sentence Is Pangram | LeetCode 1832 | Python | Solution

Click here to see the problem details. It’s an easy LeetCode problem with straightforward problem details. In a simple word, we will be given a sentence to check it is Pangram or not. So, what is Pangram? According to the problem description, “A pangram is a sentence where every letter of the English alphabet appears […]

## Valid Palindrome | LeetCode 125 | Python | Solution

Click here to see the problem details on LeetCode. Before solving this problem, we have to know about palindrome. According to the definition of Wikipedia: A palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward, such as madam or racecar. Wikipedia The problem says that we

## Reverse Only Letters | LeetCode 917 | Python | Solution

Click here to see the problem details. Problem Overview The problem description is pretty precise. It says that we have to return the reverse version of the given string. But we can only reverse letters. Characters that are not a letter stay in the same place. Only letters will change their position. Let’s see an

## 709. To Lower Case | LeetCode | Solution | Python

Here is the link to the problem. An easy problem to solve. The problem description is easy. Given a string and we have to returns it in lowercase. We can solve this problem in many ways. The first one is we will check each character. If it is uppercase we will change it to lowercase.

## 58. Length of Last Word | LeetCode | Solution

Here is the link to the problem. See the full explanation on LeetCode first. Try to understand the problem. It’s an easy problem. So the problem is, we have to return the length of the last word from the given string. The string can be consist of uppercase and lowercase letters and separated by a