← Samsung questions

Minimum operations to convert string to palindrome

Filed under Samsung

Given a string, find the minimum number of operations to make it a palindrome, where an operation consists of decreasing a character's value (e.g., 'c' to 'b').

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

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