Problem 2023 · Medium

Number of Pairs of Strings With Concatenation Equal to Target

Count ordered pairs of distinct indices whose strings concatenate to target.

Open the interactive visualisation