Problem 599 · Easy

Minimum Index Sum of Two Lists

Among strings that appear in both lists, return those with the smallest sum of positions. The visual indexes the first list, then walks the second and keeps only the best combined score.

Open the interactive visualisation