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 […]

# Month: March 2021

## 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 […]