Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement solution for 242. Valid Anagram and update README #5

Merged

Conversation

shreyasrajiv327
Copy link
Contributor

This commit adds a solution for the "Valid Anagram" problem (LeetCode 242) using hash maps to count character frequencies.

  • Implemented the isAnagram method to compare two strings by their character counts.
  • Added example test cases to demonstrate the functionality.
  • Updated the README.md file with problem details, approach explanation, and code implementation.

The solution checks if two strings are anagrams by comparing the frequency of each character in both strings.

@iamwatchdogs
Copy link
Contributor

@shreyasrajiv327 Please check the linting results and fix the issue and I'll merge your pull request...

@iamwatchdogs
Copy link
Contributor

@shreyasrajiv327 There're still few issue that are required to be resolved... Please checkout the Files Changed section for more info.

@iamwatchdogs
Copy link
Contributor

@shreyasrajiv327 I think there are some formatting issue.. You can checkout the formatted version from the recent workflow that given you formatted output... linter / java-linter / need-help (pull_request) -> Show Diffs and exit

@iamwatchdogs iamwatchdogs self-requested a review August 5, 2024 11:33
Copy link
Contributor

@iamwatchdogs iamwatchdogs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed and Approved by @iamwatchdogs.

@iamwatchdogs iamwatchdogs merged commit d835ecf into Grow-with-Open-Source:main Aug 5, 2024
7 checks passed
@iamwatchdogs
Copy link
Contributor

Thank you for contribution @shreyasrajiv327, You can review you work on GitHub pages.

@iamwatchdogs
Copy link
Contributor

Please make sure to post your contributions on Linkedin while tagging @Grow-with-Open-Source...

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