Cisco interview question

Two sum, system lock, bit manipulation