Actually you could implement it for sets too, pick...
# stdlib
k
Actually you could implement it for sets too, pick the index first and then start iterating until you get to it. Should be a lot faster.
🤔 1