The word Algorithm mostly familiar in Math and Computer Science fields. But this term is not limited to these fields. Informally, algorithms mean steps of…

The blog of Ibrahim Hasnat

Here is the link to this problem. Read the problem description carefully before solving this problem. It’s an easy Leetcode problem. Here we will be…

Tree traversal algorithms are easy. Let’s see the Python implementation of these three types of tree traversal in the recursive way. Click here to see…

The tree is one of the most important data structures in computer science. We are going to see the Python implementation of tree traversals. In…

Read the problem description first. To see the problem, click here. There is nothing to explain. It’s nothing but a binary search implementation. If you…

This problem description is pretty simple. The description is: find the sum of all left leaves in a given binary tree. Here is the link…

Often we have to center an element vertically and horizontally. We can do this easily using CSS Grid and Flexbox. But it was boring before…