mirror of
https://github.com/aljazceru/cryptoanarchywiki.github.io.git
synced 2025-12-17 05:04:21 +01:00
added post: notPaired [CF]
This commit is contained in:
@@ -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**
|
||||||
|
|||||||
Reference in New Issue
Block a user