Skip to content

Comments

Python solutions for hashing problems#2259

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

Python solutions for hashing problems#2259
neeeraj1999 wants to merge 1 commit intosuper30admin:masterfrom
neeeraj1999:master

Conversation

@neeeraj1999
Copy link

No description provided.

@super30admin
Copy link
Owner

Strengths:

  • The code is clean, well-commented, and easy to understand.
  • The approach is logical and correctly solves the problem.
  • The student has provided clear time and space complexity analysis.

Areas for Improvement:

  • Consider using a hashing technique (like prime number multiplication) to avoid the sorting step, which would improve the time complexity to O(n * k).
  • The current solution is correct but could be more efficient with a different hashing strategy.

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