Sponsored
Use these hints if you're stuck. Try solving on your own first.
Delete as many adjacent equal elements as necessary.
If the length of nums is odd after the entire process, delete the last element.
Solve with full IDE support and test cases