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...LeetCode
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...Palindrome Number | LeetCode 9 | Python | Solution
LeetCode 9 Before getting into the solution, let’s see the definition of a palindrome. According to Wikipedia: A palindrome is a word, number, phrase, or other...
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...Group Anagrams | LeetCode 49 | Python | Solution
LeetCode 49 If you know how to valid anagram, this one will be easier for you to solve. You can check this to know about it...
Continue reading...Delete the Middle Node of a Linked List | LeetCode 2095 | Python | Solution
LeetCode 2095 Before moving into the problem, we need to know how to delete a node from a linked list. If you don’t know about Linked...
Continue reading...Kth Largest Element in an Array | LeetCode 215 | Python | Solution
LeetCode 215 From an integer array, we have to find the kth largest element. I assume that you already know about the sorting algorithms. We all...
Continue reading...Guess Number Higher or Lower | LeetCode 374 | Python | Solution
Click here to see the problem on LeetCode. This problem is all about Binary Search. If you know about Binary Search Algorithm, you can solve this...
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...