3. Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. Example 1: In ...
分类:
其他好文 时间:
2019-02-14 00:19:11
阅读次数:
163
mosquitto配置通过ssl通信 摘自https://www.cnblogs.com/stin/p/9258211.html 注意项:For openssl >= 1.0.1 the valid values are tlsv1.2 tlsv1.1 and tlsv1.For openssl < ...
分类:
其他好文 时间:
2019-02-13 20:50:30
阅读次数:
196
Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 or 0. Example 1 ...
分类:
其他好文 时间:
2019-02-12 21:25:30
阅读次数:
165
Algorithm 【leetcode】125验证回文串 https://leetcode.com/problems/valid palindrome/ 1)problem 2)answer 1、普通思路 把数字和字符提取出来,然后如果是字母就转换为小写。加到新的字符串中。 对于这个新的字符串,使用 ...
分类:
其他好文 时间:
2019-02-10 00:01:38
阅读次数:
175
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 ...
Additive number is a string whose digits can form additive sequence. A valid additive sequence should contain at least three numbers. Except for the f ...
分类:
其他好文 时间:
2019-02-09 01:06:24
阅读次数:
134
The string type represents a string of Unicode characters. string is an alias for System.String in the .NET Framework. string is a reference type,obje ...
2.2 数据类型 Rust has four primary scalar types: integers, floating-point numbers, Booleans, and characters. 整数类型 u32,this type declaration indicates that ...
分类:
其他好文 时间:
2019-02-07 15:03:31
阅读次数:
222
算法描述: Given an input string, reverse the string word by word. Example: Note: A word is defined as a sequence of non-space characters. Input string may ...
分类:
其他好文 时间:
2019-02-07 10:53:25
阅读次数:
154
算法描述: Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or ano ...
分类:
其他好文 时间:
2019-02-06 22:36:14
阅读次数:
189