"n₁ × n₂ ×. . . × nₖ Points Problem": An Optimal General Algorithm | Synapse