Get Equal Substrings Within Budget - Leetcode 1208 - Java

preview_player
Показать описание
Problem Description
Program to longest substring of s that can be changed to be same as the corresponding substring of t with the cost less than equal to maxCost.

Рекомендации по теме
Комментарии
Автор

this was asked in my interview OA, i calculated the cost before hand by storing the cost of operation for each index into an array and then just used it while checking for the answer

abhaysagarkargeti
welcome to shbcf.ru