When all you have are arrays, everything looks like a problem you solve with arrays.
There are quite a few problems that specialised containers are suited for, that's why they were created.
And you can write them when you need them.
The situation where you need a red black tree with 10 different key/value combos isn’t real.
And you can write them when you need them.
The situation where you need a red black tree with 10 different key/value combos isn’t real.