2416. Sum of Prefix Scores of Strings - Explanation

Problem Link