Skip to content

Conversation

@rohitanil
Copy link

No description provided.

@super30admin
Copy link
Owner

  • Strengths:
    • Clear and concise implementations.
    • Good use of comments to explain logic.
    • Correct handling of edge cases (e.g., k = k%n in the rotation problem).
  • Areas for Improvement:
    • For the h-index problem, consider using a bucket sort approach to achieve O(n) time complexity, as shown in the reference solution.
    • While the current solution for h-index is correct, it is not the most optimal for large datasets.

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.

2 participants