maximum xor using k element of array

Revision en2, by sridhar153999, 2019-07-11 16:26:28

MAXIMUM XOR USING K ELEMENT IN ARRAY

for example

5 3
1
2
3
4
5
 

here no of element=5,k=3; here OUTPUT IS 7 how to approach this type of problm with or without recursion which one is easier source= https://www.spoj.com/problems/CODEIT02/

Tags solution spoj

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English sridhar153999 2019-07-11 16:26:28 50 Tiny change: ' is easier' -> ' is easier\nsource=\nhttps://www.spoj.com/problems/CODEIT02/'
en1 English sridhar153999 2019-07-11 16:13:14 278 Initial revision (published)