We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
You are not alone. A similar option I took is to reverse the list in place and then re-reverse the list while performing the print. This takes two traversals, but doesn't require additional memory:
Print in Reverse
You are viewing a single comment's thread. Return to all comments →
You are not alone. A similar option I took is to reverse the list in place and then re-reverse the list while performing the print. This takes two traversals, but doesn't require additional memory: