Блог пользователя kgoel

Автор kgoel, история, 5 лет назад, По-английски

Why are all the problems written on 1 based indexing and not on 0 based.

Any particular reason behind this?

Thank you.

  • Проголосовать: нравится
  • +4
  • Проголосовать: не нравится

»
5 лет назад, скрыть # |
 
Проголосовать: нравится +19 Проголосовать: не нравится

Most probably in real life when there are 5 different candies and while choosing first candy we say i want 1. candy not 0. candy.