2 ms·
I don't think "merge sort vs. insertion sort" is a good analogy in this case. This seems more like the teacher is deducting points because of a wrong indentatio
by ryandrake 11y ago
I don't think "merge sort vs. insertion sort" is a good analogy in this case. This seems more like the teacher is deducting points because of a wrong indentation or brace style.
- pohl 11y agoIt's not an analogy. I was giving a different example of an algorithm than the one denoted by the assignment. "Use the repeated addition strategy..." is a clear call to demonstrate the application of a named procedure. This is no accident, by the way. This is a deliberate design decision of those who created the common core standards. One of the goals is to teach algorithmic thinking. It's pretty easy to google about if you can find your way through the reactionary hissy-fit memes.