|
|
|
|
|
by rjprins
6354 days ago
|
|
This is a rather useless data structure: You can only store integers and they must be in the range of [0, n>.
The simple operations are O(1), because you can just map the positions of all integers based on their value in a second array of size n. |
|