DEV Community

Discussion on: How can you swap two variables without using a third?

 
zhu48 profile image
Zuodian Hu

The way the question is formulated, you're limited by having a certain amount of memory. Any register use doesn't count against that at all.