Merge Two Sorted Lists | LeetCode 21 | Python | Solution

Click here to see the problem details. Problem Overview The problem description is pretty straightforward. We are given two sorted Linked List. And we have to merge those given Lists into one sorted list. That’s the problem. Suppose our given…

Create a Triangle Using CSS

Intro CSS is truly powerful. We can create awesome things using CSS. Here, we will be going to know how to create a triangle using CSS. I hope you will like it. We all know what a triangle is. As…

Five Most Useful List Methods in Python

Intro List methods are useful, and we have to use these most of the time when working with List. There are more than five methods. But I will write about the five most useful methods that I have used the…

Insert into a Binary Search Tree | LeetCode 701 | Python | Solution

Click here to see the problem details. Read the problem details first. Concept This is clearly a Tree related problem and a medium-type problem. In my sense, it’s not that difficult if you have a basic concept about BST (Binary…

Min and Max Function in Python

Intro Python has so many built-in functions. These are really helpful. In this article, we will know about two useful built-in functions. Before getting into the main topic, let’s see two examples first. Code for finding the largest number out…

10 Useful String Methods in Python

Introduction Generally, a string is consists of one or more characters. These characters can be the alphabet, numbers, etc. In most cases, we need to manipulate string as per our need. It is tedious to do this manually. That’s why…

HTML (HyperText Markup Language)

Introduction HTML is not a programming language. It’s a markup language that is used for creating web pages. Every website in the world uses HTML to build its web page. HTML stands for HyperText Markup Language. Tim Berners-Lee is the…

Queue | Data Structure

Introduction ‘Queue’ is another abstract and linear data structure. It’s almost like Stack. The difference is it follows the principle FIFO instead of LIFO. So let’s get into the blog. In this blog, I am going to give you an…

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…

Seven Basic and Useful Commands in Linux

Intro First, Linux is Kernel, not Operating System (OS). There are so many OS based on Linux Kernel. Such as Ubuntu, Fedora, CentOS, etc. These are called Linux distribution or distro. By the way, the purpose of this blog is…