Skip to content

Glasgow | Prati Amalden | Module Complexity | Sprint 2 | precomputing#64

Open
PratiAmalden wants to merge 1 commit intoCodeYourFuture:mainfrom
PratiAmalden:precomputing
Open

Glasgow | Prati Amalden | Module Complexity | Sprint 2 | precomputing#64
PratiAmalden wants to merge 1 commit intoCodeYourFuture:mainfrom
PratiAmalden:precomputing

Conversation

@PratiAmalden
Copy link

No description provided.

@PratiAmalden PratiAmalden added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 11, 2026
Copy link

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

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

Code looks good.

There is another exercise in the count_letters folder.

Comment on lines +22 to +24
max_len = min(len(s1), len(s2))
while prefix_len < max_len and s1[prefix_len] == s2[prefix_len]:
prefix_len += 1
Copy link

Choose a reason for hiding this comment

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

Why not just use the provided function, find_common_prefix()?

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments