Available question text
Given a sequence of strings, you must process them in order and for each string choose to append or prepend it to the current result, where concatenation removes one of two adjacent characters only when the joining characters are equal; compute the minimum possible final length. The problem reduces to a dynamic programming/decision sequence problem (n ≤ 1000, alphabet size 26) tracking how local choices affect length via character matches.
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 2746. Decremental String Concatenation
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source