This is another popular data structure implemented in C++ using a range.
Get hands-on with 1200+ tech skills courses.