01 Matrix
This is a solution to the 542. 01 Matrix problem on LeetCode.
This is a solution to the 542. 01 Matrix problem on LeetCode.
This is a solution to the 2192. All Ancestors of a Node in a Directed Acyclic Graph problem on LeetCode.
This is a solution to the BFS Traversal of Graph problem on Geeks for Geeks.
Given the root of a binary tree, return the bottom-up level order traversal of its nodes' values. (i.e., from left to right, level by level from leaf to root).
This is a solution to the Binary Tree Level Order Traversal problem on LeetCode.
This is a solution to the Binary Tree Right Side View problem on LeetCode.
Given a binary tree, return the zigzag level order traversal of its nodes' values. (i.e., from left to right, then right to left for the next level and alternate between).
Given a binary tree, count the number of visible nodes. A node is considered visible if, in the path from the root to that node, there are no nodes with a greater value.
This document provides a solution to the Course Schedule problem.
This document provides a solution to the Course Schedule II problem.
Determine if a binary tree is an "even-odd" tree, where the level of nodes alternates between odd and even values.
Given the root of a binary tree, return the leftmost value in the last row of the tree.
This is a solution to the Find Largest Value in Each Tree Row problem on LeetCode.
This is a solution to the Flood Fill problem on LeetCode.
This is a solution to the Island Perimeter problem on LeetCode.
Determine the minimum number of adjacent letter swaps needed to transform string s1 into string s2, given that s1 and s2 are anagrams.
This document provides a solution where we Find the kth ancestor of a given node.
This is a solution to the Longest Increasing Path in a Matrix problem on LeetCode.
This is a solution to making a large island problem on LeetCode.
This is a solution to the Max Area of Island problem on LeetCode.
This is a solution to the Maximum Depth of Binary Tree problem on LeetCode.
This is a solution to the Maximum Level Sum of a Binary Tree problem on LeetCode.
Given two binary trees, merge them into a new binary tree by adding the values of overlapping nodes.
This is a solution to the Minimum Time to Collect All Apples in a Tree problem on LeetCode.
This is a solution to the Nearest Exit from Entrance in Maze problem on LeetCode.
This is a solution to the Number of Island problem on LeetCode.
This is a solution to the Number of Provincess problem on LeetCode.
This is a solution to the Open the Lock problem on LeetCode.
This is a solution to the Path With Minimum Effort problem on LeetCode.
This is a solution to pyramid-transition-matrix problem on LeetCode.
This is a solution to the Shortest-Path-With-Alternating-Colors problem on LeetCode.