โ† Arcesium questions

Max score for substring starting and ending with same letter

Filed under Arcesium

Given a string S of lowercase letters and an array of points for each letter, find the maximum score for a substring starting and ending with the same letter.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Arcesium questions

Collected from public candidate posts and coding forums. Updated Nov 2026.