Depth-first Search

Subscribe to see which companies asked this question

You have solved  0/ 51 problems.
# Title Acceptance Difficulty
542 01 Matrix 32.6% Medium
533 Lonely Pixel II 38.9% Medium
531 Lonely Pixel I 50.2% Medium
529 Minesweeper 51.8% Medium
515 Find Largest Value in Each Tree Row 53.2% Medium
514 Freedom Trail 32.9% Hard
513 Find Bottom Left Tree Value 55.7% Medium
505 The Maze II 35.5% Medium
499 The Maze III 31.6% Hard
494 Target Sum 44.0% Medium
491 Increasing Subsequences 38.6% Medium
490 The Maze 42.1% Medium
488 Zuma Game 37.0% Hard
473 Matchsticks to Square 34.0% Medium
472 Concatenated Words 29.6% Hard
439 Ternary Expression Parser 49.9% Medium
417 Pacific Atlantic Water Flow 33.1% Medium
394 Decode String 40.8% Medium
366 Find Leaves of Binary Tree 58.2% Medium
364 Nested List Weight Sum II 51.1% Medium
339 Nested List Weight Sum 60.7% Easy
337 House Robber III 42.4% Medium
332 Reconstruct Itinerary 28.4% Medium
329 Longest Increasing Path in a Matrix 35.8% Hard
323 Number of Connected Components in an Undirected Graph 47.3% Medium
301 Remove Invalid Parentheses 34.9% Hard
261 Graph Valid Tree 37.2% Medium
257 Binary Tree Paths 36.5% Easy
210 Course Schedule II 26.5% Medium
207 Course Schedule 31.1% Medium
200 Number of Islands 33.3% Medium
199 Binary Tree Right Side View 39.6% Medium
133 Clone Graph 25.1% Medium
129 Sum Root to Leaf Numbers 35.7% Medium
124 Binary Tree Maximum Path Sum 25.4% Hard
117 Populating Next Right Pointers in Each Node II 33.6% Medium
116 Populating Next Right Pointers in Each Node 36.9% Medium
114 Flatten Binary Tree to Linked List 34.1% Medium
113 Path Sum II 32.3% Medium
112 Path Sum 33.4% Easy
111 Minimum Depth of Binary Tree 32.6% Easy
110 Balanced Binary Tree 36.7% Easy
109 Convert Sorted List to Binary Search Tree 33.2% Medium
108 Convert Sorted Array to Binary Search Tree 41.1% Easy
106 Construct Binary Tree from Inorder and Postorder Traversal 31.4% Medium
105 Construct Binary Tree from Preorder and Inorder Traversal 31.3% Medium
104 Maximum Depth of Binary Tree 51.5% Easy
101 Symmetric Tree 37.7% Easy
100 Same Tree 45.7% Easy
99 Recover Binary Search Tree 29.2% Hard
98 Validate Binary Search Tree 22.7% Medium
Send Feedback