Skip to content

Conversation

utsabsingharoy
Copy link

Current implementation of StrongComponentsImpl and PostOrderTraversalImpl uses std::map, std::set making their complexity O(VlogV + E). Converting them to unordered containters effectively makes the amortised complexity O(V +E) which is expected.

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.

1 participant