Restate the outcome
Given an array of values, should a duplicate appear once, and should the result preserve the input order? Ask about an empty input and realistic input sizes if those affect the implementation. Sketch a small example to make the expected output visible.
Make a prediction before coding
Explain the straightforward approach and where it uses extra work. For deduplication, searching the result for every element can repeat the same scanning work. A set can answer whether you have already seen a value while a separate list keeps the output in order.
Trace the code with a concrete input
Try an example with repeated values and at least one value that appears just once. Walk through what the set stores after each step. Then check the empty input. State the time and extra space costs in terms of the number of inputs and distinct values.
Keep silence useful
Give yourself a moment to think, then summarize the decision you are making. If you are debugging, say what the current result tells you and which assumption you will test next.