Problem1 and Problem2 added#1597
Conversation
Right Side View of a tree (right-side-view.py)Your solution is correct and efficient. You have successfully implemented a BFS approach to capture the rightmost node at each level. Here are a few points for improvement:
Overall, you have a good understanding of the problem and have implemented a solution that meets the required time and space complexity. VERDICT: PASS Cousins in Tree (cousins.py)Your solution is well-structured and correctly implements the BFS approach. Here are some suggestions for improvement:
Overall, your solution is correct and efficient. With minor improvements in code clarity, it would be excellent. VERDICT: PASS |
No description provided.