โ† Infosys questions
CodingReported in a candidate post, Nov 2022

Delete operation for two strings

Filed under Infosys

Given two strings word1 and word2, return the minimum number of steps to make them equal, where one step consists of deleting one character from either string.

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

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