We all know that ReactJS is one of the most popular JavaScript frameworks/libraries. On the other hand, react-icons is an icon package. Basically, react-icons are collections of various types of icon libraries in one place. FontAwesome is one of them. We can use many kinds of icons installing this one package in our project. It […]

## Range Sum of BST | LeetCode 938 | Python | Solution

Click here to see the problem on LeetCode. A simple Tree related problem and description is pretty straightforward. We have to return the sum of values of all nodes with a value in the range. The range is actually a minimum integer and a maximum integer. If a node value is in the range, we […]

## Binary Tree Preorder Traversal | LeetCode 144 | Python | Solution

Click here to see the problem on LeetCode. The problem description is pretty straightforward. We have to return all the nodes’ values following the preorder traversal algorithm. I can assume that you have a basic understanding of Tree data structure. Mainly, there are four types of traversing algorithms in Binary Tree. Preorder traversal is one […]

## Create, read, update, and delete a file in Python

As a language, Python is one of my favorites. One of the main reasons behind it, it’s easy to learn. By the way, the purpose of this blog is not how much I love Python. In this blog, we will be going to know about file handling in Python. Basically, it will be a basic […]

## Monotonic Array | LeetCode 896 | Python | Solution

Here is the link to the problem. See the problem description. We have to check the given array is monotonic or not. What is a monotonic array? “An array is monotonic if it is either monotone increasing or monotone decreasing.” line quoted from the problem description. The formula is:For checking increasing monotone of the given […]

## Duplicate Emails | LeetCode 182 | SQL | Solution

This one is a simple SQL problem. Here is the link to this problem. This one is an absolute beginner type problem. We have to query all the duplicates emails from the given table. The name of the table is Person. The code is almost self-explanatory. All SQL keywords are written in uppercase letters. It’s […]

## .some() and .every() method in JavaScript

If you know the basics of JavaScript, I can assume that you are familiar with JavaScript’s array. The array is a Data Structure to store more than one value. JavaScript has so many useful built-in array methods. Some methods we use frequently. Such as forEach, map, filter, etc. You may be familiar already. In this […]

## 2021 will be an awesome year

Already some days of the new year have passed. Sometimes a year seems like too much time, and sometimes it seems very short. But we can do so many things if we utilize a year properly. For that, we must have to be consistent. A year is enough time to see improvements in ourselves. I […]

## Linked List | Data Structure

In computer science, Linked List is a basic and linear type data structure like Array. Both are used to store a collection of elements. But there is a difference between Array and Linked List. But In this article, I will write all about Linked List. You can read my article about the Array if you […]

## Insert and Delete Operation in Binary Search Tree | Code Snippet | Python

This post is all about code. We will see the implementation of insertion and deletion in the Binary Search Tree. I will try to write details about these topics soon. TreeNode Insert Delete