Help- Finding missing numbers using XOR

Правка en1, от Ishtiaq11, 2017-03-28 06:32:30

Given an array of n-2 unique numbers in range 1 to n (inclusive). I want to find the missing two numbers in the array using xor. Please help me providing the idea. Thanks in advance.

Теги xor

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Ishtiaq11 2017-03-28 06:32:30 225 Initial revision (published)