Sponsored
Use these hints if you're stuck. Try solving on your own first.
Think very simple.
If <code>a == b</code>, the answer is -1.
Otherwise, the answer is the string <code>a</code> or the string <code>b</code>.
Solve with full IDE support and test cases