We can implement this directly within ST so we don't allocate an intermediate linked list.
We can implement this directly within ST so we don't allocate an intermediate linked list.