3 ms·
This is a terrifying post for me to make because I feel like I'm about to make an ass of myself... but... I'm not seeing an off-by-one error. 'i' will be LENGT
by lbrandy 16y ago
This is a terrifying post for me to make because I feel like I'm about to make an ass of myself... but...
I'm not seeing an off-by-one error. 'i' will be LENGTH-5 on the last iteration and we will add 'j==4' for in[LENGTH-1] not in[LENGTH].
- JoachimSchipper 16y agoYou are actually right. Sorry! I shouldn't be trying to do N things at the same time - I somehow misread that as i <= LENGTH - 4.
- snippyhollow 16y agoBeing unsure and not a douche should prevent you from making an ass of yourself. No error for me too.