Which edge case matters for this problem?
Practice this question from Find Duplicates - Frequency Map Pattern Practice Quiz, with options and an explanation.
Question
Which edge case matters for this problem?
Option A — Correct answer
Values appearing more than twice should appear once in output.
Option B
Whether the graph is connected
Option C
Whether the array is rotated
Option D
Whether the tree is balanced
Explanation
Values appearing more than twice should appear once in output.