Which edge case matters for this problem?

Practice this question from First Unique Character - Frequency Map Pattern Practice Quiz, with options and an explanation.

Question

Which edge case matters for this problem?

Option A — Correct answer

If no unique character exists, return -1.

Option B

Whether the graph is connected

Option C

Whether the array is rotated

Option D

Whether the tree is balanced

Explanation

If no unique character exists, return -1.

First Unique Character - Frequency Map Pattern Practice Quiz

All questions · Previous question

Open on QuizMaker