Skip to content

UofT-DSI | Python - Assignment 1#1

Open
ruokun-ai wants to merge 4 commits intomainfrom
assignment-1
Open

UofT-DSI | Python - Assignment 1#1
ruokun-ai wants to merge 4 commits intomainfrom
assignment-1

Conversation

@ruokun-ai
Copy link
Copy Markdown
Owner

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

Implemented an anagram checker in two stages: a base version (case-insensitive) and an extended version with a boolean parameter to control case sensitivity.

What did you learn from the changes you have made?

Improved understanding of string normalization, sorting for comparison, and designing functions with configurable behavior.

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

Considered using collections.Counter to compare character frequencies as an alternative to sorting.

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

Clarifying when to apply case normalization based on the boolean flag. Resolved by aligning the logic with the requirement.

How were these changes tested?

Validated using provided examples and additional test cases with varying letter casing to ensure correct behavior.

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

N/A

Checklist

  • I can confirm that my changes are working as intended

Copy link
Copy Markdown

@KasraVakiloroayaei KasraVakiloroayaei left a comment

Choose a reason for hiding this comment

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

A1: Complete

Great 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