Approach for XORSEQ

You can refer to the following editorial