Glossary term

What is XOR? Meaning for developers

A bit operator that gives 1 where the two bits differ. Equal pairs cancel out, so x ^ x = 0.

Learn it properly · DSALesson 58: Tries and Bit ManipulationPrefix trees, and the bit tricks that interviews ask about.

All DSA terms

Related terms

← All glossary terms, A to Z