-
Notifications
You must be signed in to change notification settings - Fork 0
You are given a sorted array of N elements. But unfortunately the array has been circularly shifted 0<K<N times and you don’t know that K. Design the following algorithm: Detect How many times the array has been circularly shifted, find the K. Your Algorithm should run in O(log N) time and Design an O(N) algorithm which should undo those rotatio…
Tabed23/Shifts_in_data
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
About
You are given a sorted array of N elements. But unfortunately the array has been circularly shifted 0<K<N times and you don’t know that K. Design the following algorithm: Detect How many times the array has been circularly shifted, find the K. Your Algorithm should run in O(log N) time and Design an O(N) algorithm which should undo those rotatio…
Topics
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published