Output
A: [-100, -1, -1, 0, 5]
B: [0]
C: [-1, 0, 0]
Output: [-100, -1, 0, 5]
This problem provides multiple array samples and asks for the final output after applying the stated rule. The key is to identify how duplicates, ordering, and valid values should be handled, then choose the right data structure or traversal strategy to produce the expected result. In an interview setting, the main challenge is usually clarifying the transformation rules and handling edge cases correctly.