Skip to content

Conversation

@aaravbodla
Copy link

No description provided.

@super30admin
Copy link
Owner

  • H-Index.java: Your solution is correct and well-implemented, but the sorting step makes it less efficient than the reference solution. Consider using the bucket sort approach for a linear time solution.
  • RotateArray.java: Excellent implementation. The three-reverse method is a great choice for this problem.
  • TrapRainWater.java: Well done! The stack-based approach is efficient and correctly implemented.

Overall, your solutions are correct and well-structured. The main area for improvement is in the H-Index problem, where a more efficient approach exists. Keep up the good work!

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