Comment by karmakurtisaani

2 days ago

That's like 8th grade math, what am misunderstanding about your comment?

E: wasn't the only one.

K closest points using Euclidean distance and a heap, is not 8th grade math, although any 8th grade math problem can be transformed into a difficult "adult" question. Sums are elementary, asking to find a window of prefix sums that add up to something is still addition, but a little more tricky