← Walmart questions

Maximum length by combining strings

Filed under Walmart

Given a list of strings containing 'R' and 'B', two strings can be concatenated if the last character of the first equals the first character of the second. Find the maximum possible total length of a…

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 Walmart questions

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