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...Python
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...Basic Programming Concept for Beginner (Python)
Intro I believe computer programming is one of the most beautiful things in this universe. And we can learn it for free. We can do so...
Continue reading...Move Zeroes | LeetCode 283 | Python | Solution
Click here to see the problem details on LeetCode. Problem Overview This problem’s difficulty level is easy. The problem description is straightforward. In an integer array,...
Continue reading...Majority Element | LeetCode 169 | Python | Solution
Click here to see the problem details on LeetCode. Solution Simple problem. We need to find out the majority element from an integer array.Suppose we have...
Continue reading...Find First and Last Position of Element in Sorted Array | LeetCode 34 | Python | Solution
Click here to see the problem details on LeetCode. Problem Overview We will be given an integer array (sorted in no-decreasing order) and an integer. We...
Continue reading...First Unique Character in a String | LeetCode 387 | Python | Solution
This problem is pretty straightforward. Click here to see the problem. Problem Overview The problem description is one line and pretty simple. It says that we...
Continue reading...Average of Levels in Binary Tree | LeetCode 637 | Python | Solution
Click here to see the problem details on LeetCode. Pretty simple Binary Tree problem. We can solve this using the Level Order Traversal algorithm. This way,...
Continue reading...