We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c233833 commit 17c60c6Copy full SHA for 17c60c6
src/main/java/com/thealgorithms/bitmanipulation/SwapNumbersUsingXor.java
@@ -25,7 +25,10 @@
25
*
26
* After these three steps, the values of a and b are swapped.
27
28
- * <b>Example usage:</b>
+ * For more information, refer to the
29
+ * <a href="https://en.wikipedia.org/wiki/XOR_swap_algorithm"> XOR swap algorithm </a>.
30
+ *
31
+ * Example usage:
32
* <code>
33
* int[] result = SwapNumbersUsingXor.swap(5, 3);<br>
34
* System.out.println("After swap: a = " + result[0] + ", b = " + result[1]);
0 commit comments