Reading code can be hard. Why not ease the pressure with a piece of paper and a pen?
Series: Coding Tangents
Returning multiple times in a single function is legal in most programming languages, yet a lot of folks don't like it. Why?
Indexing arrays is always a confusing topic. After all, the average person starts counting from one, so why don't arrays?
Lots of people use flags in their code. There's nothing wrong with that, but you may find your code easier to write without them.
A lot of random number generators create numbers between 0 and 1, but that's not all that helpful for bigger numbers. Luckily, there are some tricks!
ULPT: How to Cheat on Programming Assignments and Get Away With It
Cheating is never a good idea, but if you have to do it, here's my advice.