added example
This commit is contained in:
1 parent
e7f510ab92
commit
bf0b66c280
1 file changed
+10
@@ -2,3 +2,13 @@
|
||||
|
||||
You have *n* streams of sorted object, create a function that will merge them in a
|
||||
sorted steam.
|
||||
|
||||
|
||||
### example
|
||||
|
||||
The 3 bellow sorted streams
|
||||
* `[1, 4, 6, 7, 7, 10, ...`
|
||||
* `[0, 5, 8, 10, ...`
|
||||
* `[5, 6, 10,...`
|
||||
|
||||
Should output `[0, 1, 4, 5, 5, 6, 6, 7, 7, 8, 10, 10, 10, ...`
|
||||
Reference in new issue
Block a user