Reversing a List Property 2

reverse of remaining stack [ ] and already reversed stack [ ] = [ ]

This property states that the reverse of empty "remaining" and "reversed" lists is simply an empty list. This may not seem very significant, but it tells us how we can reverse an empty list, which is an important baseline case.


Comments

Please log in to add comments