Skip to content

Conversation

@Tejaswini2112
Copy link

word pattern, isomorphic strings and Grouping anagrams

@Tejaswini2112 Tejaswini2112 changed the title Hashing1 done Hashing1 Nov 20, 2025
@super30admin
Copy link
Owner

Strengths:

  • The student has provided both brute-force and optimized solutions, demonstrating a good understanding of the problem.
  • The use of prime numbers for hashing is a clever and efficient approach.
  • The code is well-commented and easy to follow.
  • The student has handled edge cases and large numbers using BigInteger, which is a good practice.

Areas for Improvement:

  • The brute-force approach, while correct, is less efficient and could be omitted if the focus is solely on the optimized solution.
  • The student could consider adding more test cases to validate the solution further.
  • The comments could be more concise while still being informative.

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