If this node isn 't already  present in the trie structure  that means no sub array till  current index has 0 xor so  return 0
if ( node . children [ curr_bit ] == null ) { return 0 ; } node = node . children [ curr_bit ] ; }