0
点赞
收藏
分享

微信扫一扫

Leetcode 2024. 考试的最大困扰度

GG_lyf 2022-04-03 阅读 27
package com.bingoabin.algorithm.slipwindow;

/**
 * @Author: xubin34
 * @Date: 2022/3/29 9:45 上午
 * @CopyRight: sankuai.com
 * @Description:
 */
public class MaxConsecutiveAnswers {
   
    //Leetcode 2024. 考试的最大困扰度
    //示例:输入:answerKey = "TTFF", k = 2
    //     输出:4
    //     解释:我们可以将两个 'F' 都变为 'T' ,得到 answerKey = "TT
举报

相关推荐

0 条评论