emilydolson / emilydolson/python-red-black-trees

Add `__len__()` to RedBlackTree

Open
#11 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
28
Forks
5
PR merge metrics
No merged PRs in 30d

Description

The class has a size attribute so it makes sense to use the standard `__len__()` method to access it instead of relying on it being a public attribute.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.