Given a string s , find the length of the longest substring t that contains at most 2 distinct characters. Example 1: Example 2: ...
分类:
其他好文 时间:
2019-10-15 10:15:53
阅读次数:
83
【转】Python3中遇到UnicodeEncodeError: 'ascii' codec can't encode characters in ordinal not in range(128) 现象 打印任何一种包含有中文的对象,字典、列表、DataFrame、或字符串。比如: 控制台报错: ...
分类:
编程语言 时间:
2019-10-15 09:22:07
阅读次数:
97
异常:Invalid character found in the request target. The valid characters are defined in RFC 3986 ...
分类:
其他好文 时间:
2019-10-13 20:44:39
阅读次数:
113
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). Example: Note: If there i ...
D. Distinct Characters Queries time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are g ...
分类:
其他好文 时间:
2019-10-07 21:11:46
阅读次数:
200
File Upload: A file is a series of characters. Uploading a file is the opposite of downloading a file. Therefore to transfer a file we need to: 1. Rea ...
分类:
编程语言 时间:
2019-10-07 11:18:32
阅读次数:
84
1. Two Sum 2. Add Two Numbers 3. Longest Substring Without Repeating Characters ...
分类:
其他好文 时间:
2019-10-07 00:43:53
阅读次数:
77
1. create a function to generate file with the filename start with 10 random characters ...
分类:
其他好文 时间:
2019-10-06 18:26:43
阅读次数:
77
Difficulty:easy More:【目录】LeetCode Java实现 Description https://leetcode.com/problems/valid-parentheses/ Given a string containing just the characters '( ...
分类:
其他好文 时间:
2019-10-04 23:20:46
阅读次数:
186
Assignment 2: Lexical Analysis & State DiagramsLexical Analysis (Overview):Lexical analysis is the process of converting a sequence of characters from ...
分类:
其他好文 时间:
2019-10-04 18:49:31
阅读次数:
71