Sponsored
Use these hints if you're stuck. Try solving on your own first.
Simulate the process, create an array nums and return the Bitwise XOR of all elements of it.
Solve with full IDE support and test cases