Breadth First Search

Breadth First Search #

TitleSolutionDifficultyTimeSpace收藏
101. Symmetric TreeGoEasyO(n)O(1)
102. Binary Tree Level Order TraversalGoMediumO(n)O(1)
103. Binary Tree Zigzag Level Order TraversalGoMediumO(n)O(n)
107. Binary Tree Level Order Traversal IIGoEasyO(n)O(1)
111. Minimum Depth of Binary TreeGoEasyO(n)O(1)
126. Word Ladder IIGoHardO(n)O(n^2)❤️
127. Word LadderGoMediumO(n)O(n)
199. Binary Tree Right Side ViewGoMediumO(n)O(1)
200. Number of IslandsGoMediumO(n^2)O(n^2)
207. Course ScheduleGoMediumO(n^2)O(n^2)
210. Course Schedule IIGoMediumO(n^2)O(n^2)
515. Find Largest Value in Each Tree RowGoMediumO(n)O(n)
542. 01 MatrixGoMediumO(n)O(1)
993. Cousins in Binary TreeGoEasyO(n)O(1)
————————————————————————————————–———————–———–——–

⬅️上一页

下一页➡️

Calendar Sep 6, 2020
Edit Edit this page
本站总访问量:  次 您是本站第  位访问者