Skip to content
  • Blog
  • Home
Ibrahim Hasnat
  • Home
  • Blog
  • Data Structure
  • Algorithm
  • LeetCode
  • Twitter
Ibrahim Hasnat
  • Misc

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. And save you a lot of time. I made a lot of mistakes during…

  • Ibrahim Hasnat
  • May 23, 2022
  • Data Structure

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 idea of Tree and Binary Tree. Intro A Binary Search Tree is a special…

  • Ibrahim Hasnat
  • April 26, 2022
  • LeetCode

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 trees, we have to check whether both are the same or not. Consider the…

  • Ibrahim Hasnat
  • April 18, 2022
  • LeetCode

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 subtree. If we print all the nodes of a BST using an inorder traversal…

  • Ibrahim Hasnat
  • April 11, 2022
  • LeetCode

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 my blog on this topic. As we know, using level order traversal, we traverse…

  • Ibrahim Hasnat
  • April 10, 2022
  • LeetCode

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, we have to find the maximum depth of a binary tree. We can solve…

  • Ibrahim Hasnat
  • March 27, 2022
  • Algorithm

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 traversal is a binary tree version of the BFS (Breadth-First Search) algorithm. The concept…

  • Ibrahim Hasnat
  • March 24, 2022
  • Python

Guess The Number – Simple Game Using Python

This game is surely not going to be the fanciest game. But any beginner with a basic knowledge of the Python programming language can built-it and understand it easily. I think this can be a good and simple project for…

  • Ibrahim Hasnat
  • March 17, 2022
  • LeetCode

Two Sum | LeetCode 1 | Python | Solution

LeetCode 1 Read the problem description first and think about the problem. We will be given an integer array and target. Target is also an integer. We have to find two elements out from the given array, where the sum…

  • Ibrahim Hasnat
  • February 28, 2022
  • LeetCode

Largest Odd Number in String | LeetCode 1903 | Python | Solution

LeetCode 1903 It’s a simple problem. We have to return the largest odd number from the given string. If we check odd numbers from the last, we will get the result. If a number is odd, we can say that…

  • Ibrahim Hasnat
  • February 14, 2022
1 2 3 4 … 12
Next

Categories

  • Algorithm
  • Code Snippets
  • CSS
  • Data Structure
  • JavaScript
  • LeetCode
  • Linux
  • Misc
  • Python

Recent Posts

  • If You Are A Self-learner, These Might Help You
  • Binary Search Tree | Data Structure
  • Same Tree | LeetCode 100 | Python | Solution
  • Kth Smallest Element in a BST | LeetCode 230 | Python | Solution
  • Binary Tree Level Order Traversal | LeetCode 102 | Python | Solution
  • Maximum Depth of Binary Tree | LeetCode 104 | Python | Solution
  • Level Order Traversal – BFS Algorithm




Trending

Algorithm Array Binary Binary Search Binary Search Tree Binary Tree Built-in Code CSS Tricks Data Structure Decode Function HashTable HTTP Insertion Intro JavaScript Learning LeetCode Linear Linked List List Methods MySQL Problem Solving programming Python Python Function Queue Recursion Reverse Search Algorithm Selection Solution Sort SQL Stack Status Code String Technology Tips Tree Tree Traversal Two Pointer Web

Twitter GitHub LinkedIn

Copyright © 2022 Ibrahim Hasnat - All Right Reserved.