2.10 Breadth First Search

Breadth First Search #

No.TitleSolutionDifficultyTimeComplexitySpaceComplexityFavoriteAcceptance
0101Symmetric TreeGoEasyO(n)O(1)48.5%
0102Binary Tree Level Order TraversalGoMediumO(n)O(1)57.0%
0103Binary Tree Zigzag Level Order TraversalGoMediumO(n)O(n)50.5%
0107Binary Tree Level Order Traversal IIGoMediumO(n)O(1)55.5%
0111Minimum Depth of Binary TreeGoEasyO(n)O(1)39.8%
0126Word Ladder IIGoHardO(n)O(n^2)❤️23.8%
0127Word LadderGoHardO(n)O(n)32.2%
0130Surrounded RegionsGoMedium29.8%
0199Binary Tree Right Side ViewGoMediumO(n)O(1)56.6%
0200Number of IslandsGoMediumO(n^2)O(n^2)49.6%
0207Course ScheduleGoMediumO(n^2)O(n^2)44.3%
0210Course Schedule IIGoMediumO(n^2)O(n^2)43.0%
0417Pacific Atlantic Water FlowGoMedium44.0%
0513Find Bottom Left Tree ValueGoMedium62.8%
0515Find Largest Value in Each Tree RowGoMediumO(n)O(n)62.4%
0529MinesweeperGoMedium61.5%
054201 MatrixGoMediumO(n)O(1)41.1%
0785Is Graph Bipartite?GoMedium48.7%
0815Bus RoutesGoHard43.5%
0863All Nodes Distance K in Binary TreeGoMedium58.2%
0864Shortest Path to Get All KeysGoHard42.4%
0987Vertical Order Traversal of a Binary TreeGoHard39.0%
0993Cousins in Binary TreeGoEasyO(n)O(1)52.3%
1091Shortest Path in Binary MatrixGoMedium40.2%
1306Jump Game IIIGoMedium62.2%
1319Number of Operations to Make Network ConnectedGoMedium55.6%
1654Minimum Jumps to Reach HomeGoMedium25.2%
——————————————————————-——-—————-—————————-————-————-

⬅️上一页

下一页➡️

Calendar Apr 13, 2021
Edit Edit this page
本站总访问量:  次 您是本站第  位访问者