Largest Number After Mutating Substring at Infosys
Medium37.8% acceptance
This problem has 75.0% frequency at Infosys.
Problem Description
You are given a string `num`, which represents a large integer. You are also given a **0-indexed** integer array `change` of length `10` that maps each digit `0-9` to another digit. More formally, digit `d` maps to digit `change[d]`. You may **choose** to **mutate a single substring** of `num`. To...
Read full problem and hintsTopics
More Infosys Questions
Two SumEasyLongest Substring Without Repeating CharactersMediumLongest Palindromic SubstringMediumValid ParenthesesEasyNext PermutationMedium
View all Infosys questions