novacrazy's Contributions
Below are the tutorials, code snippets, and resources novacrazy has submitted to dream.in.code. For more information on Kudos and contributing to dream.in.code visit: http://home.dreamincode.net/?p=about#kudos.
Tutorials
No Tutorials Submitted.
Code Snippets
Submitted: October 1, 2011        Views: 447
Algorithm for rotating a variable.
Submitted: October 1, 2011        Views: 419
I've no idea if this swap algorithm exists elsewhere, but this is one I derived myself, and, well, it works very well. It can be used on the same variable even, even same location in the same variable, works with swapping 0 and 1, 0 and 0, and 1 and 1, so, everything. It does use three variables, but the simplicity of this is enough to compensate.