Tag Archives: algorithms

The Old XOR Switcheroo

Swap two binary integers, without using a temporary variable. Not magic — XOR. Continue reading

Posted in Algorithms, Assembly, Coding, Digital, Math | Tagged , , , | Leave a comment

Brute Force and Ignorance

Sometimes the best tool for the job is a big (computational) hammer. Continue reading

Posted in Algorithms, C, Coding, Math | Tagged , , , , , | Leave a comment

Recursion

“To know recursion, you must first know recursion.” (Original author unknown) Much of the fun of writing code is learning about all of the various algorithms and techniques that help get the job done. Some of these are relatively straightforward: … Continue reading

Posted in Algorithms, C, Coding, Math | Tagged , , , , | Leave a comment