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

    Odd number of characters异常

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

    2.3K30编辑于 2022-06-21
  • 来自专栏SnailTyan

    Sort Characters By Frequency

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

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

    Find Common Characters

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

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

    curl (3) Illegal characters found in URL

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

    3.5K20发布于 2019-07-01
  • 来自专栏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

    49920发布于 2018-09-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.

    49310发布于 2019-07-23
  • 来自专栏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.4K31发布于 2019-09-18
  • 来自专栏后台技术汇

    LeetCode 1446:Consecutive Characters(连续字符)

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

    48040编辑于 2022-05-30
  • 来自专栏面试指北

    Sort Characters By Frequency

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

    34730发布于 2021-07-23
  • javascript: Convert special characters to HTML

    document.forms.conversionForm.inputText.value = "Thére Àre sôme spëcial charâcters ïn thìs têxt 塗聚文"; } </script>

    Convert special characters to HTML

    With this tool you are able to encode special characters (chars like 'áèïüñ' '塗聚文'. The advantage of using special HTML codes instead of the normal characters is that the HTML codes will

    7310编辑于 2026-06-18
  • 来自专栏*坤的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);

    44960发布于 2018-06-04
  • 来自专栏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/

    78550发布于 2018-02-27
  • 来自专栏计算机视觉与深度学习基础

    Leetcode 3 Longest Substring Without Repeating Characters

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

    739100发布于 2018-01-12
  • 来自专栏月亮与二进制

    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. 大意: 给出一个字符串,基于其中字符出现的次数按照降序排列。

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

    LeetCode之Longest Substring Without Repeating Characters

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

    60230发布于 2018-05-24
  • 来自专栏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.

    34330发布于 2021-08-11
  • 来自专栏JNing的专栏

    Longest Substring Without Repeating Characters

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

    45410发布于 2018-09-28
  • 来自专栏SnailTyan

    Find Words That Can Be Formed by Characters

    word) return lengths Reference https://leetcode.com/problems/find-words-that-can-be-formed-by-characters

    41410发布于 2021-07-08
  • 来自专栏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.

    59920发布于 2019-11-24
  • 来自专栏null的专栏

    LeetCode——Longest Substring Without Repeating Characters

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

    40440发布于 2019-02-13
领券