Only 1 tc passing

code: https://ide.codingblocks.com/s/488954

hello @
a) m is never changing so there no point of using m in memoisation table, single 1d array is sufffient

b) 10^9 will compute xor . u need to compute 10 raise to power 9