Before getting into details, you don’t need to be disappointed if you don’t understand the recursion quickly. Initially, it may seem a bit complex or fuzzy...
Continue reading...Ibrahim Hasnat
Overview of Python Dictionary | Data Structure
Dictionary in Python is a data structure. Dictionary is similar to HashTable with some extra features. HashTable is one of the most important data structures in...
Continue reading...Number of Islands | LeetCode 200 | Python | Solution
LeetCode 200 The number of islands is one of the most popular programming problems. Read the problem description first. Before getting into the solution, I assume...
Continue reading...If You Are A Self-learner, These Might Help You
If you are a self-learner, especially a computer programmer or developer, keep the following things in mind. I think keeping these in mind will help you....
Continue reading...Binary Search Tree | Data Structure
Before getting into the Binary Search Tree (BST), you have to know the basics of Tree and Binary Tree. I assume that you have the basic...
Continue reading...Same Tree | LeetCode 100 | Python | Solution
LeetCode 100 It’s an easy LeetCode problem, and the description is concise and straightforward. We can solve this problem using the DFS algorithm. From two binary...
Continue reading...Kth Smallest Element in a BST | LeetCode 230 | Python | Solution
LeetCode 230 I hope you already know about Binary Search Tree. In BST, each node is greater than its left subtree and smaller than its right...
Continue reading...Binary Tree Level Order Traversal | LeetCode 102 | Python | Solution
LeetCode 102 This problem just simply the implementation of the level order traversal algorithm. If you don’t know about level order traversal yet, you can check...
Continue reading...Maximum Depth of Binary Tree | LeetCode 104 | Python | Solution
LeetCode 104 It’s a common and basic type of problem. The problem title is self-explanatory. We all know about a binary tree. To solve this problem,...
Continue reading...Level Order Traversal – BFS Algorithm
This one is another way of traversing through a binary tree. There are many other ways you can do it. Click here to check. Level order...
Continue reading...