SpaceX Interview Question

Describe two's complement and why it matters in hardware. How would you prevent multiple threads attempting to write to the same memory locations interrupting one another's transactions?