> I got a Data Structures book Which book do you have? Do you like it?
> I know how to do it with Java Can you show us your code? I would like to learn how to do it in Java. Basically, what you need to build something like Nim's seq is allocating chunks of memory from the OS. You may inspect Nim's low level modules to find it out. But of course there exists much more interesting and useful data structures to build. Maybe a robin hood or hopscotch ordered hash table (I was playing recently with that) or some of the structures boost lib has?