Available question text
Count the ordered pairs (i, j), i ≠ j, of digit-strings from nums whose concatenation equals the given target. Key idea: consider every split of target into a prefix and suffix and use string frequency counts to sum matching pairs (taking care when both parts are identical).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2023. Number of Pairs of Strings With Concatenation Equal to Target
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source