Breadth-first Search
You have solved 27 / 61 problems.
Show problem tags
# Title Acceptance Difficulty Frequency
200 Number of Islands (/problems/number-of-islands) 44.1% Medium
301 Remove Invalid Parentheses (/problems/remove- 41.2% Hard
invalid-parentheses)
279 Perfect Squares (/problems/perfect-squares) 43.8% Medium
101 Symmetric Tree (/problems/symmetric-tree) 45.2% Easy
199 Binary Tree Right Side View (/problems/binary-tree- 50.8% Medium
right-side-view)
127 Word Ladder (/problems/word-ladder) 26.8% Medium
102 Binary Tree Level Order Traversal (/problems/binary- 51.3% Medium
tree-level-order-traversal)
133 Clone Graph (/problems/clone-graph) 30.3% Medium
107 Binary Tree Level Order Traversal II (/problems/binary- 49.2% Easy
tree-level-order-traversal-ii)
103 Binary Tree Zigzag Level Order Traversal 44.5% Medium
(/problems/binary-tree-zigzag-level-order-traversal)
126 Word Ladder II (/problems/word-ladder-ii) 19.9% Hard
407 Trapping Rain Water II (/problems/trapping-rain-water- 40.4% Hard
ii)
# Title Acceptance Difficulty Frequency
111 Minimum Depth of Binary Tree (/problems/minimum- 36.3% Easy
depth-of-binary-tree)
207 Course Schedule (/problems/course-schedule) 40.2% Medium
529 Minesweeper (/problems/minesweeper) 56.0% Medium
130 Surrounded Regions (/problems/surrounded-regions) 24.8% Medium
773 Sliding Puzzle (/problems/sliding-puzzle) 55.8% Hard
417 Pacific Atlantic Water Flow (/problems/pacific-atlantic- 38.9% Medium
water-flow)
690 Employee Importance (/problems/employee- 55.4% Easy
importance)
542 01 Matrix (/problems/01-matrix) 37.8% Medium
743 Network Delay Time (/problems/network-delay-time) 44.9% Medium
847 Shortest Path Visiting All Nodes (/problems/shortest- 49.7% Hard
path-visiting-all-nodes)
863 All Nodes Distance K in Binary Tree (/problems/all- 51.6% Medium
nodes-distance-k-in-binary-tree)
909 Snakes and Ladders (/problems/snakes-and-ladders) 36.6% Medium
513 Find Bottom Left Tree Value (/problems/find-bottom- 59.9% Medium
left-tree-value)
210 Course Schedule II (/problems/course-schedule-ii) 37.4% Medium
913 Cat and Mouse (/problems/cat-and-mouse) 30.0% Hard
# Title Acceptance Difficulty Frequency
317 Shortest Distance from All Buildings 39.7% Hard
(/problems/shortest-distance-from-all-buildings)
286 Walls and Gates (/problems/walls-and-gates) 51.6% Medium
310 Minimum Height Trees (/problems/minimum-height- 31.2% Medium
trees)
515 Find Largest Value in Each Tree Row (/problems/find- 59.0% Medium
largest-value-in-each-tree-row)
994 Rotting Oranges (/problems/rotting-oranges) 46.6% Easy
559 Maximum Depth of N-ary Tree (/problems/maximum- 66.8% Easy
depth-of-n-ary-tree)
785 Is Graph Bipartite? (/problems/is-graph-bipartite) 45.5% Medium
1236 Web Crawler (/problems/web-crawler) 64.4% Medium
787 Cheapest Flights Within K Stops (/problems/cheapest- 36.9% Medium
flights-within-k-stops)
675 Cut Off Trees for Golf Event (/problems/cut-off-trees- 33.1% Hard
for-golf-event)
934 Shortest Bridge (/problems/shortest-bridge) 45.8% Medium
490 The Maze (/problems/the-maze) 49.6% Medium
1036 Escape a Large Maze (/problems/escape-a-large- 35.2% Hard
maze)
261 Graph Valid Tree (/problems/graph-valid-tree) 40.9% Medium
# Title Acceptance Difficulty Frequency
323 Number of Connected Components in an Undirected 53.7% Medium
Graph (/problems/number-of-connected-components-
in-an-undirected-graph)
429 N-ary Tree Level Order Traversal (/problems/n-ary-tree- 61.6% Medium
level-order-traversal)
815 Bus Routes (/problems/bus-routes) 41.5% Hard
854 K-Similar Strings (/problems/k-similar-strings) 36.8% Hard
752 Open the Lock (/problems/open-the-lock) 48.4% Medium
1242 Web Crawler Multithreaded (/problems/web-crawler- 45.6% Medium
multithreaded)
1091 Shortest Path in Binary Matrix (/problems/shortest- 36.9% Medium
path-in-binary-matrix)
864 Shortest Path to Get All Keys (/problems/shortest- 39.0% Hard
path-to-get-all-keys)
505 The Maze II (/problems/the-maze-ii) 46.0% Medium
993 Cousins in Binary Tree (/problems/cousins-in-binary- 51.9% Easy
tree)
1210 Minimum Moves to Reach Target with Rotations 43.6% Hard
(/problems/minimum-moves-to-reach-target-with-
rotations)
1263 Minimum Moves to Move a Box to Their Target 38.4% Hard
Location (/problems/minimum-moves-to-move-a-box-
to-their-target-location)
# Title Acceptance Difficulty Frequency
1197 Minimum Knight Moves (/problems/minimum-knight- 31.7% Medium
moves)
1129 Shortest Path with Alternating Colors 37.2% Medium
(/problems/shortest-path-with-alternating-colors)
499 The Maze III (/problems/the-maze-iii) 39.4% Hard
1162 As Far from Land as Possible (/problems/as-far-from- 40.9% Medium
land-as-possible)
1284 Minimum Number of Flips to Convert Binary Matrix to 70.0% Hard
Zero Matrix (/problems/minimum-number-of-flips-to-
convert-binary-matrix-to-zero-matrix)
1245 Tree Diameter (/problems/tree-diameter) 54.7% Medium
1293 Shortest Path in a Grid with Obstacles Elimination 39.7% Hard
(/problems/shortest-path-in-a-grid-with-obstacles-
elimination)
1298 Maximum Candies You Can Get from Boxes 59.1% Hard
(/problems/maximum-candies-you-can-get-from-
boxes)
Copyright © 2019 LeetCode Help Center (/support/) | Terms (/terms/) | Privacy (/privacy/) United States
(/region/)