DEV Community

loading...

Discussion on: What is your favourite data structure?

Collapse
supernova13892 profile image
Saransh Dhingra

HashMaps and Linked Hashset.
But I love the array in PHP.
They cover so much, they are Hashmaps, Hashsets, ordered Maps, Stacks(derived), Queues(derived) and of course, arrays too :P