【LeetCode】BFS(共43题)

【101】Symmetric Tree 

【102】Binary Tree Level Order Traversal 

【103】Binary Tree Zigzag Level Order Traversal 

【107】Binary Tree Level Order Traversal II 

【111】Minimum Depth of Binary Tree 

【126】Word Ladder II 

【127】Word Ladder 

【130】Surrounded Regions 

【133】Clone Graph 

【199】Binary Tree Right Side View 

【200】Number of Islands 

【207】Course Schedule 

【210】Course Schedule II 

【261】Graph Valid Tree 

【279】Perfect Squares 

【286】Walls and Gates 

【301】Remove Invalid Parentheses 

【310】Minimum Height Trees 

【317】Shortest Distance from All Buildings 

【323】Number of Connected Components in an Undirected Graph 

【407】Trapping Rain Water II 

【417】Pacific Atlantic Water Flow 

【429】N-ary Tree Level Order Traversal 

【490】The Maze 

【499】The Maze III 

【505】The Maze II 

【513】Find Bottom Left Tree Value 

【515】Find Largest Value in Each Tree Row 

【529】Minesweeper 

【542】01 Matrix 

【559】Maximum Depth of N-ary Tree 

【675】Cut Off Trees for Golf Event 

【690】Employee Importance 

【743】Network Delay Time 

【752】Open the Lock 

【773】Sliding Puzzle 

【785】Is Graph Bipartite? 

【787】Cheapest Flights Within K Stops 

【815】Bus Routes 

【847】Shortest Path Visiting All Nodes 

【854】K-Similar Strings 

【863】All Nodes Distance K in Binary Tree 

【864】Shortest Path to Get All Keys 

猜你喜欢

转载自www.cnblogs.com/zhangwanying/p/9706908.html