Completed BFS-1#1639
Conversation
Level Order Traversal in Binary tree (level_order.py)Strengths:
Areas for Improvement:
Overall, the solution is efficient and adheres to the problem requirements. VERDICT: PASS Scheduling Courses (course.py)Your solution is generally correct and efficient. You have implemented Kahn's algorithm correctly. However, there are a few improvements needed:
Revised code structure: This is simpler and avoids multiple returns.
But note: if there are courses that are not prerequisites and also not required by any prerequisite? They are independent and are added initially. So it's covered. Overall, your solution is correct except for the missing import. With that fixed, it should work. VERDICT: NEEDS_IMPROVEMENT |
No description provided.