johanthegoat
16 hours ago
johanthegoat posted Study notes: Meet in the Middle + Shifted Sums to Zero | Go

Two arrays have equal averages exactly when a subset of size k has average equal to the total average. If every value is shifted by the overall average, we just...