I already have an article about it. Click here to see it. I am not going to details of it but the code implementation. Queue is also a linear data structure. It follows the principle of First In First Out, and which is also known as FIFO. There are mainly two operations in Queue. One […]

# Author: Ibrahim Hasnat

## Create Stack Data Structure Using JavaScript Array Method

I already have an article about it. Click here to see it. I am not going to details of it but the code implementation. Stack is a linear data structure. It follows the principle of Last In First Out, and which is also known as LIFO. There are mainly two operations in Stack. One is […]

## 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 from the string based on the given substring. We will continue to remove until all the occurrences of the substring are removed. Each time we have to remove the […]

## 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 from the given link. So we will be given a string and an integer. The given string is basically a sentence which is a list of words separated by […]

## My Most Favorite Five Youtube Channel for Learn Full-stack Web Development

Youtube is huge. There are so many videos are uploaded every day. Nowadays, it’s become one of the most awesome platforms for learning something new. There are tons of YouTube channels for learning full-stack web development. Though I have much more than five favorite tech youtube channels, and those are also awesome. But I am […]

## Shuffle String | LeetCode 1528 | Python | Solution

Click here to see the problem details. Problem Overview This problem is quite simple. We will be given a string (s) and an array (indices) that is the same length as the string. All of the integers of the array are unique, and of course, all the integers will be less or equal to the […]

## 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 two lists are 1 -> 3 and 2 -> 4. And the result will be […]

## 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 Wikipedia, “A triangle is a polygon with three edges and three vertices. It is one […]

## 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 most. Python List is equivalent to Array. So, if I use Array word instead of […]

## 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 Search Tree). BST is also a Binary Tree. So what is a Binary Search Tree? […]