When we write an algorithm we assume the first element of array as 0 or 1 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

When we write an algorithm we assume the first element of array as 0 or 1

20th Sep 2019, 3:26 AM
Yatharth Mittal
Yatharth Mittal - avatar
1 Answer
0
In most of the books it is given as 1 when writing algo and taken as 0 when writing program
20th Sep 2019, 5:19 AM
Yatharth Mittal
Yatharth Mittal - avatar