Skip to content

Assignment 1#1

Open
dzedze wants to merge 2 commits intomainfrom
assignment-1
Open

Assignment 1#1
dzedze wants to merge 2 commits intomainfrom
assignment-1

Conversation

@dzedze
Copy link
Copy Markdown
Owner

@dzedze dzedze commented Nov 27, 2025

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

  • Add code to solve part 1 and part 2 of the assignment

What did you learn from the changes you have made?

  • How to write python code to solve anagrams problem in O(n) of complexity

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

  • Another approach is just sort word_a and word_b, then compare them, if matched, then the words are anagrams. But this approach is slightly more complex than the given one with O(nlogn) of complexity.

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

n.a

How were these changes tested?

  • Run some validations, but it could be done better with unit test

A reference to a related issue in your repository (if applicable)

n.a

Checklist

  • [x ] I can confirm that my changes are working as intended

Copy link
Copy Markdown

@xindizhang xindizhang left a comment

Choose a reason for hiding this comment

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

Excellent job! Your solution is clean, efficient, and well-commented; and your PR description is clear. Assignment 1 is complete – no changes needed.

@dzedze
Copy link
Copy Markdown
Owner Author

dzedze commented Dec 2, 2025

Excellent job! Your solution is clean, efficient, and well-commented; and your PR description is clear. Assignment 1 is complete – no changes needed.

Thank you so much @xindizhang

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