Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Result of iterative version of Stray
1 (00001) ^ 1 (00001) = 0 (00000)
0 (00000) ^ 2 (00010) = 2 (00010)
=====================================
17 (10001) ^ 17 (10001) = 0 (00000)
0 (00000) ^ 3 (00011) = 3 (00011)
3 (00011) ^ 17 (10001) = 18 (10010)
18 (10010) ^ 17 (10001) = 3 (00011)
3 (00011) ^ 17 (10001) = 18 (10010)
18 (10010) ^ 17 (10001) = 3 (00011)
=====================================
n1 => 2, n2 => 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.