Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer ...
分类:
其他好文 时间:
2019-05-23 21:24:22
阅读次数:
97
真机调试build success ,App installation failed (A valid provisioning profile for this executable was not found) File-->Workspace Settings --> Build System ...
分类:
移动开发 时间:
2019-05-23 16:44:53
阅读次数:
215
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For the purpose of this problem, w ...
分类:
其他好文 时间:
2019-05-22 20:46:14
阅读次数:
78
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-05-18 18:52:12
阅读次数:
131
【栈】 Python实现: 1. 用数组实现一个顺序栈 2. 用链表实现一个链式栈 3. 编程模拟实现一个浏览器的前进、后退功能 练习: 1. 有效的括号 https://leetcode-cn.com/problems/valid-parentheses/ 思路:栈+字典 2. 最长有效的括号 [ ...
分类:
编程语言 时间:
2019-05-15 14:41:23
阅读次数:
176
125. Valid Palindrome Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For the purp ...
分类:
Web程序 时间:
2019-05-14 20:41:16
阅读次数:
167
Given a string containing only digits, restore it by returning all possible valid IP address combinations. Example: 使用标志k记录当前所得的子字符串个数。当满足有4个子字符串并且s中的 ...
分类:
其他好文 时间:
2019-05-14 12:48:14
阅读次数:
107
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: No ...
分类:
其他好文 时间:
2019-05-13 23:25:40
阅读次数:
174
try{ context.SaveChanges();}catch (DbEntityValidationException ex){ var errorMessages = ex.EntityValidationErrors.SelectMany(validationResult => valid ...
分类:
其他好文 时间:
2019-05-13 12:22:09
阅读次数:
124
放个数组,遍历,左方框就加,右方框就减 三个数放个数组,最后三个数都是0,才是true,为负立即false 但是看relate是stack这个标签 不是很懂怎么和栈结合 看起来好像是我弄错description的意思了,我以为{[}]也是对的,不好好看 else if那一坨 for那里是新知道的 所 ...
分类:
其他好文 时间:
2019-05-10 23:33:49
阅读次数:
162