It's a data structure not an algorithm