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. […]
Month: June 2020
237. Delete Node in a Linked List | LeetCode | Solution | Python
This one is a basic linked list problem. Here is the problem link. See the detailed explanation there. This problem is very simple and straightforward. We have to delete the given node. We don’t need to check anything and don’t need to return anything. See the note in the below of the problem explanation. Suppose […]
155. Min Stack | LeetCode | Solution
This problem is all about designing a stack data structure. Here is the problem link. See the detailed explanation there. To solve this problem, we have to write the most common stack operations. A stack is an abstract data structure. It’s Follow the LIFO (Last In First Out) rules. I hope you already know about […]
412. Fizz Buzz | LeetCode | Solution
It’s a classic programming problem and a very beginner type of problem. Here is the link to the problem. See the explanation in LeetCode first. And try to understand the problem. First, we will be given a number n as input. We have to store each number from 1 to n in an array as […]
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 […]
Going to Write LeetCode Problems Solution
LeetCode is one of the most popular websites for practicing programming problems. It has a large collection of programming problems to solve. It also helps you to upgrade problem-solving skills one step further. I just love this website. I am going to start writing LeetCode’s solution on my site to improve my depth of understanding […]