added post: notPaired [CF]

This commit is contained in:
agusmakmun
2016-05-22 04:14:27 +07:00
parent c7a6dad60a
commit f624856b0e

View File

@@ -12,9 +12,11 @@ In Numberland, every integer living there has a soulmate which is the exact same
**Example:** **Example:**
* `notPaired([1, 2, 1]) = 2` * `notPaired([1, 2, 1]) = 2`
2 is the only number in the sequence that appears once. 2 is the only number in the sequence that appears once.
* `notPaired([1, 3, 5, 7, 9, 7, 5, 3, 1]) = 9` * `notPaired([1, 3, 5, 7, 9, 7, 5, 3, 1]) = 9`
9 is the only number in the sequence that appears once. 9 is the only number in the sequence that appears once.
**Input/Output** **Input/Output**