Comment on Turn O(n^2) reverse into O(n)parentComments−auggierose12yThat does not work if your list is persistent.
Comments
That does not work if your list is persistent.