![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode
yusen_zdn
这个作者很懒,什么都没留下…
展开
-
LeetCode-Two Sum
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the sam原创 2017-02-24 09:59:43 · 188 阅读 · 0 评论 -
leetcode-Longest Substring Without Repeating Characters
c++版本 class Solution { public: int lengthOfLongestSubstring(string s) { int left = 0, right = 0; int exist[300] = {0}; int ans = 0; int len = s.len原创 2017-07-28 10:01:44 · 248 阅读 · 0 评论