Solve InterviewCake's "find rotation point" problem

Write a function that accepts a rotated cycle of alphabetically sorted strings
and returns the index what should be the first element if the elements were not
rotated.
This commit is contained in:
William Carroll 2020-03-09 17:13:26 +00:00
parent b929a6bb57
commit 58ed992059
2 changed files with 69 additions and 1 deletions

View file

@ -16,7 +16,7 @@
** DONE Cafe Order Checker
** DONE In-Place Shuffle
* Sorting, searching, and logarithms
** TODO Find Rotation Point
** DONE Find Rotation Point
** TODO Find Repeat, Space Edition
** TODO Top Scores
** TODO Merging Meeting Times