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(datastructure): add convenience methods IsEmpty and Size to Set data structure #45

Merged
merged 1 commit into from
May 7, 2024

Conversation

irdaislakhuafa
Copy link
Owner

Adds two convenience methods to the Set data structure:

  • IsEmpty() returns whether the set is empty.
  • Size() returns the number of elements in the set.

…data structure

Adds two convenience methods to the Set data structure:

- `IsEmpty()` returns whether the set is empty.
- `Size()` returns the number of elements in the set.
@irdaislakhuafa irdaislakhuafa merged commit 76edfd1 into master May 7, 2024
1 check passed
@irdaislakhuafa irdaislakhuafa deleted the datastructure/set branch May 7, 2024 05:14
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.

None yet

1 participant