Add info about returns to problem-solving
Closed this issue · 1 comments
thomassnielsen commented
Return is important but can be hard to grasp. Suggest adding a variable to be returned early on in your method so you have somewhere to write to, especially if the return is a list or a counter.
thomassnielsen commented
Remember to explain multiple returns too