Conversation
Level Order Traversal in Binary tree (Problem1.py)
VERDICT: PASS Scheduling CoursesIt seems there has been a mix-up in the problems. The code you submitted is for "Binary Tree Level Order Traversal" (LeetCode 102), but the problem you were asked to solve is "Scheduling Courses" (LeetCode 207), which involves checking if a cycle exists in a directed graph representing course prerequisites. For the correct problem, you need to:
Your current solution does not address this at all. Please review the problem statement again and implement a solution for course scheduling. The reference solution provided in C++ can be a guide, but you should implement it in Python. Strengths: Your code for the binary tree problem is clean and efficient, showing good coding practices. VERDICT: NEEDS_IMPROVEMENT |
No description provided.