Visa Inc. interview question

Program with sum of squared numbers