xorSubsequence in n2
almostSorted and FiboMod