Clarification in DIGJUMP

digjump

#1

In DIGJUMP problem what does 1 (Si-1) and 1 (Si+1) mean??
Please explain.


#2

it says indices i - 1 (Si-1) and i + 1 (Si+1) read it correctly i.e the i-1th and i+1th indices of the array S.