Minimum Cost to Convert String I at Atlassian

Medium63.3% acceptance

This problem has 62.5% frequency at Atlassian.

Problem Description

You are given two **0-indexed** strings `source` and `target`, both of length `n` and consisting of **lowercase** English letters. You are also given two **0-indexed** character arrays `original` and `changed`, and an integer array `cost`, where `cost[i]` represents the cost of changing the characte...

Read full problem and hints

Topics

Also asked at 3 companies


More Atlassian Questions

View all Atlassian questions