Stuck on partial marks ? maybe you missed an Edge case!


#1

if your approach is

  1. finding pivot index
  2. applying bs on suitable sorted half
    and get partial marks
    there will be an edge case when array is rotated 0 times. i.e if pivot index=0.
    :slight_smile: