In school, we were always asked to show our solutions. It was not enough to just say what we thought the answer was, we had to give the details for how we arrived at the answer. Can you explain how you came up with O(n^2)?
When people don’t understand what you are doing they call you crazy. But this tiny ad just doesn't care:
a bit of art, as a gift, the permaculture playing cards