Sponsored
Use these hints if you're stuck. Try solving on your own first.
Use “Push” for numbers to be kept in target array and [“Push”, “Pop”] for numbers to be discarded.
Solve with full IDE support and test cases