Solve merging-ranges

Write a function to merge meeting times. Added an in-place solution, which the
"Bonus" section suggested attempting to solve.

- Added some simple benchmarks to test the performance differences between the
  in-place and not-in-place variants. To my surprise, the in-place solution was
  consistently slower than the not-in-place solution.
This commit is contained in:
William Carroll 2020-02-13 14:52:20 +00:00
parent 1f19080c7c
commit 9fa97eab67
2 changed files with 116 additions and 1 deletions

View file

@ -1,5 +1,5 @@
* Array and string manipulation
** TODO Merging Meeting Times
** DONE Merging Meeting Times
** DONE Reverse String in Place
** TODO Reverse Words
** TODO Merge Sorted Arrays