ICode9

精准搜索请尝试: 精确搜索
  • [LeetCode] 1297. Maximum Number of Occurrences of a Substring 子串的最大出现次数2022-05-05 13:35:04

    Given a string s, return the maximum number of ocurrences of any substring under the following rules: The number of unique characters in the substring must be less than or equal to maxLetters. The substring size must be between minSize and maxSize i

  • Leetcode刷题之矩阵中的指针用法2022-03-31 11:31:11

    矩阵中的指针用法 1 快慢指针 ​ Leetcode27移除元素 给你一个数组 nums 和一个值 val,你需要 原地 移除所有数值等于 val 的元素,并返回移除后数组的新长度。不要使用额外的数组空间,你必须仅使用 O(1) 额外空间并 原地 修改输入数组。 public int removeElement(int[] nums,

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有