Skip to content

docs: add prefixCount docstring - #264

Merged
Huerte merged 1 commit into
Huerte:mainfrom
Aaqibhafeezkhan:docs/252-prefix-count-docstring
Nov 15, 2026
Merged

Huerte merged 1 commit into
Huerte:mainfrom
Aaqibhafeezkhan:docs/252-prefix-count-docstring

Conversation

@Aaqibhafeezkhan

Copy link
Copy Markdown
Contributor

Summary

  • Add a one-line docstring to Solution.prefixCount() in practice325.py.
  • Clarify that the method returns the number of words starting with the given prefix.

Closes #252

@Aaqibhafeezkhan Aaqibhafeezkhan left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added a concise docstring describing the purpose and return value of prefixCount(). The change is limited to the requested documentation line and leaves the existing implementation unchanged.

@Huerte
Huerte merged commit aad72f0 into Huerte:main Nov 15, 2026
1 check failed
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.

Add a one-line docstring to any Python solution (5 min)

2 participants