Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jeffrey Phillips Freeman
agusmakmun-github-io
Commits
f624856b
Commit
f624856b
authored
May 22, 2016
by
agusmakmun
Browse files
added post: notPaired [CF]
parent
c7a6dad6
Changes
1
Hide whitespace changes
Inline
Side-by-side
_posts/2016-05-21-notpaired-cf.md
View file @
f624856b
...
...
@@ -12,9 +12,11 @@ In Numberland, every integer living there has a soulmate which is the exact same
**Example:**
*
`notPaired([1, 2, 1]) = 2`
2 is the only number in the sequence that appears once.
*
`notPaired([1, 3, 5, 7, 9, 7, 5, 3, 1]) = 9`
9 is the only number in the sequence that appears once.
**Input/Output**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment