Depth First Search

Leetcode Binary Tree Level Order Traversal II Java Solution

Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level…

2 years ago

Leetcode Reconstruct Itinerary Java Solution

Given a list of airline tickets represented by pairs of departure and arrival airports [from, to], reconstruct the itinerary in order.…

2 years ago

Leetcode 200 Number of Islands (Java) With Video Explanation

Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water…

2 years ago

This website uses cookies.