Arrays tip : Ignoring the zeroth row

This trick can be used in any language but is shown in java right now. Sometimes you want to use natural input values as an index, the real values that that data has instead of starting with zero. Let’s take the case of data that starts with the value 1, like the day of the month. The standard approach is to subtract one from every day value that’s used as an index. [Read More]