Skip to content

Completed Graph-1#778

Open
nitishred13 wants to merge 1 commit intosuper30admin:masterfrom
nitishred13:master
Open

Completed Graph-1#778
nitishred13 wants to merge 1 commit intosuper30admin:masterfrom
nitishred13:master

Conversation

@nitishred13
Copy link

No description provided.

@super30admin
Copy link
Owner

  • The student's solution is excellent and correctly solves the problem. The implementation is efficient and matches the reference solution in both time and space complexity.
  • The code is clean and easy to understand, with good use of variable names and clear logic.
  • One minor suggestion: The comment "Time Complexity: O(n)" could be more precise. It should be O(E + V) where E is the number of trust relationships and V is the number of people, as the solution iterates through all trust relationships and then all people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants