You should probably ignore this for now. I will remove this text once I think there is something useful in here.
These notes aim to give language details to help in understanding the algorithms written in them.
i in [0...n] works like 0 <= i < n.
For last value: .. is inclusive and ... is exclusive.