Minimum Steps Required

Asked at Barclays · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026

Given two strings `str1` and `str2` containing only 0s and 1s, there are steps to change `str1` to `str2`:

Loading the problem…