Single Number II

Try to solve the Single Number II problem.

Statement

Given a non-empty array arr, in which exactly two elements appear once, and all the other elements appear twice, return the two elements that appeared only once.

Note: The ...

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy