您好,欢迎光临本网站![请登录][注册会员]  

搜索资源列表

  1. LeetCode3 Longest Substring Without Repeating Characters

  2. Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the length is 3. Given "bbbbb", the answer is "b", with the length of 1. Giv en "pwwkew", the answer is "wk
  3. 所属分类:Java

    • 发布日期:2018-01-09
    • 文件大小:11264
    • 提供者:b727787721
  1. LeetCode 3 无重复字符的最长子串 我的题解记录

  2. 这道题使用双指针(滑动窗口)+哈希表可破。 public int lengthOfLongestSubstring(String s) { if (s==null||s.equals("")) return 0; int start = 0; int end = 0; char[] arr = s.toCharArray(); int[] hash = new int[128]; //构建
  3. 所属分类:其它

    • 发布日期:2020-12-21
    • 文件大小:63488
    • 提供者:weixin_38728277