首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏zjblog

    Odd number of characters异常

    Java.lang.IllegalArgumentException: Odd number of characters. at org.apache.shiro.codec.Hex.decode(Hex.java

    2.2K30编辑于 2022-06-21
  • 来自专栏WD学习记录

    LeetCode Longest Substring Without Repeating Characters

    Given a string, find the length of the longest substring without repeating characters. 解法1: 参考自LeetCode题解3:Longest Substring Without Repeating Characters class Solution: def lengthOfLongestSubstring

    43420发布于 2018-09-04
  • 来自专栏SnailTyan

    Sort Characters By Frequency

    } } return result; } }; Reference https://leetcode.com/problems/sort-characters-by-frequency

    43210发布于 2019-05-25
  • 来自专栏SnailTyan

    Find Common Characters

    B[i].remove(ch) return result Reference https://leetcode.com/problems/find-common-characters

    48710发布于 2021-03-02
  • 来自专栏dylanliu

    curl (3) Illegal characters found in URL

    摘要 在windows 中编辑的文件上传到 Linux 后,使用 curl 等工具调用时会报一个curl: (3) Illegal characters found in URL 的错误,这是因为 Linux

    3.4K20发布于 2019-07-01
  • 来自专栏Nicky's blog

    URLDecoder异常Illegal hex characters in escape (%)

    URLDecoder对参数进行解码时候,代码如: URLDecoder.decode(param,"utf-8"); 有时候会出现类似如下的错误: URLDecoder异常Illegal hex characters if (v < 0) throw new IllegalArgumentException("URLDecoder: Illegal hex characters throw new IllegalArgumentException( "URLDecoder: Illegal hex characters

    5.2K31发布于 2019-09-18
  • 来自专栏后台技术汇

    LeetCode 1446:Consecutive Characters(连续字符)

    给你一个字符串 s ,字符串的「能量」定义为:只包含一种字符的最长非空子字符串的长度。请你返回字符串的能量。

    41140编辑于 2022-05-30
  • 来自专栏眯眯眼猫头鹰的小树杈

    Sort Characters By Frequency

    题目要求 Given a string, sort it in decreasing order based on the frequency of characters. Note that "cacaca" is incorrect, as the same characters must be together. Note that 'A' and 'a' are treated as two different characters.

    41910发布于 2019-07-23
  • 来自专栏面试指北

    Sort Characters By Frequency

    Sort Characters By Frequency 问题描述 Given a string, sort it in decreasing order based on the frequency of characters.

    27530发布于 2021-07-23
  • 来自专栏计算机视觉与深度学习基础

    Leetcode 3 Longest Substring Without Repeating Characters

    Given a string, find the length of the longest substring without repeating characters.

    664100发布于 2018-01-12
  • 来自专栏mukekeheart的iOS之旅

    No.003 Longest Substring Without Repeating Characters

    Longest Substring Without Repeating Characters Total Accepted: 167158 Total Submissions: 735821 Difficulty : Medium Given a string, find the length of the longest substring without repeating characters. 解题思路参考自: http://www.geeksforgeeks.org/length-of-the-longest-substring-without-repeating-characters/

    73450发布于 2018-02-27
  • 来自专栏*坤的Blog

    leetcode 3 Longest Substring Without Repeating Characters

    class Solution { public: int lengthOfLongestSubstring(string s) { int m[256] = {0}, res = 0, left = 0; for (int i = 0; i < s.size(); ++i) { if (m[s[i]] == 0 || m[s[i]] < left) { res = max(res, i - left + 1);

    40160发布于 2018-06-04
  • 来自专栏月亮与二进制

    Sort Characters By Frequency

    问题: Given a string, sort it in decreasing order based on the frequency of characters. Note that "cacaca" is incorrect, as the same characters must be together. Note that 'A' and 'a' are treated as two different characters. 大意: 给出一个字符串,基于其中字符出现的次数按照降序排列。

    27710发布于 2021-11-23
  • 来自专栏Reck Zhang

    LeetCode 0003 - Longest Substring Without Repeating Characters

    Longest Substring Without Repeating Characters Desicription Given a string, find the length of the longest substring without repeating characters.

    28230发布于 2021-08-11
  • 来自专栏蜉蝣禅修之道

    LeetCode之Longest Substring Without Repeating Characters

    这次的题目是找出字符串中最长不重复子串,一开始还以为跟最长匹配子串类似,需要用到动态规划呢,结果还是自己想太多了,偷看了一眼Tag,才发现只需要用hashmap和两个指针就能搞定。 算法的主要思想是:初始化两个指针head和tail,分别指向字符串初始位置0,并初始化一个hashmap,key为考察中的字符,value为对应字符所在位置。然后一个while循环,直至tail到达字符串尾部,在循环的每一步,首先会检查s[tail]是否存在于hashmap中,如果没有,则插入,否则找出s[tail]之前出现过的

    55430发布于 2018-05-24
  • 来自专栏null的专栏

    LeetCode——Longest Substring Without Repeating Characters

    题目: Given a string, find the length of the longest substring without repeating characters.

    36940发布于 2019-02-13
  • 来自专栏0x0001

    LeetCode - Longest Substring Without Repeating Characters

    ---- 题目: 3.Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters.

    53620发布于 2019-11-24
  • 来自专栏全栈程序员必看

    LeetCode——Longest Substring Without Repeating Characters

    Given a string, find the length of the longest substring without repeating characters.

    25430编辑于 2022-01-04
  • 来自专栏null的专栏

    LeetCode——Longest Substring Without Repeating Characters

    题目: Given a string, find the length of the longest substring without repeating characters.

    74440发布于 2018-03-16
  • 来自专栏Reck Zhang

    LeetCode 0395 - Longest Substring with At Least K Repeating Characters

    Longest Substring with At Least K Repeating Characters Desicription Find the length of the longest substring

    29330发布于 2021-08-11
领券