monica_b1998, monica_b1998@lemmy.world

Instance: lemmy.world
Joined: a year ago
Posts: 19
Comments: 7

RSS feed

Posts and Comments by monica_b1998, monica_b1998@lemmy.world

Fine, I changed it to 120. I didn’t count precisely, just ballpark to give the readers an idea of the complexity level.


Employees of many corporations don’t have the luxury of choice. Apparently you do - more power to you!



technically yes, although i use the “1 instruction per line” rule and give the number so that readers have a rough idea of the complexity of the solution



RSS feed

Posts by monica_b1998, monica_b1998@lemmy.world

Comments by monica_b1998, monica_b1998@lemmy.world

Fine, I changed it to 120. I didn’t count precisely, just ballpark to give the readers an idea of the complexity level.


Employees of many corporations don’t have the luxury of choice. Apparently you do - more power to you!



technically yes, although i use the “1 instruction per line” rule and give the number so that readers have a rough idea of the complexity of the solution




I think it’s drawing some lines twice, but I didn’t think it’s worth adding more lines to prevent it. Suggestions, anyone?
Edit: I updated line 18 to let j = i + 1;