Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day 424 #856

Closed
vaskoz opened this issue Jan 19, 2020 · 1 comment · Fixed by #857
Closed

Day 424 #856

vaskoz opened this issue Jan 19, 2020 · 1 comment · Fixed by #857
Assignees

Comments

@vaskoz
Copy link
Owner

vaskoz commented Jan 19, 2020

Good morning! Here's your coding interview problem for today.

This problem was asked by Facebook.

Given an array of integers in which two elements appear exactly once and all other elements appear exactly twice, find the two elements that appear only once.

For example, given the array [2, 4, 6, 8, 10, 2, 6, 10], return 4 and 8. The order does not matter.

Follow-up: Can you do this in linear time and constant space?

@vaskoz vaskoz self-assigned this Jan 19, 2020
@vaskoz
Copy link
Owner Author

vaskoz commented Jan 19, 2020

Identical to Day 140: #292

@vaskoz vaskoz mentioned this issue Jan 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant