A data structure implementation