Invert Binary Tree is one of the most popular programming problems. It’s an easy problem. I assume that you have a basic understanding of Binary Tree...

Continue reading...# Solution

## LeetCode 199 | Binary Tree Right Side View | Python | Solution

If you know about the level order traversal algorithm, finding the right-side view of a binary tree becomes easy for you. This problem is nothing but...

Continue reading...## Two Sum | LeetCode 1 | Python | Solution

LeetCode 1 Read the problem description first and think about the problem. We will be given an integer array and target. Target is also an integer....

Continue reading...## Largest Odd Number in String | LeetCode 1903 | Python | Solution

LeetCode 1903 It’s a simple problem. We have to return the largest odd number from the given string. If we check odd numbers from the last,...

Continue reading...## Reverse Linked List | LeetCode 206 | Python | Solution

LeetCode 206 Reverse Linked List is one of the classic programming problems. The problem description is nothing complicated. We have to reverse the given Linked List...

Continue reading...## Ransom Note | LeetCode 383 | Python | Solution

LeetCode 383 Problem Overview Ransom Note is a pretty common programming problem. The problem description is concise and understandable. So, this problem says that we will...

Continue reading...## Maximum Number of Words Found in Sentences | LeetCode 2114 | LeetCode | Python | Solution

LeetCode 2124 This one is one of the easy problems on LeetCode. To solve this problem, mainly you have to know how to split a sentence...

Continue reading...## Valid Anagram | LeetCode 242 | Python | Solution

Click here to see this problem on LeetCode. This problem’s difficulty level is easy. Problem Overview Simple problem. From the given two strings, we have to...

Continue reading...## Remove All Occurrences of a Substring | LeetCode 1910 | Python | Solution

Click here to see the problem details. Problem Overview We will be given a string (s) and a substring (part). We have to remove all occurrences...

Continue reading...## Truncate Sentence | LeetCode 1816 | Python | Solution

Here is the problem link. Problem Overview This is an easy problem, and it’s basically a string-related problem. I hope you already read the problem description...

Continue reading...