codingHeart

返回顶部

随笔分类 -  算法之Leetcode

算法练习
3. Longest Substring Without Repeating Characters - 最长无重复字符子串-Medium
摘要:Examples: Description: Given a string, find the length of the longest substring without repeating characters. Example: 思路分析: 1.第一想法:从第一个字符起,逐个计算出最长字串长 阅读全文

posted @ 2017-03-13 23:57 codingHeart 阅读(302) 评论(0) 推荐(1) 编辑

27. Remove Element - 移除元素-Easy
摘要:Description: Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for anothe 阅读全文

posted @ 2017-03-12 23:44 codingHeart 阅读(532) 评论(0) 推荐(0) 编辑

20. Valid Parentheses - 括号匹配验证
摘要:Description: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. Example: 思路分析: 1.这 阅读全文

posted @ 2017-03-12 00:23 codingHeart 阅读(1539) 评论(0) 推荐(1) 编辑

2. Add Two Numbers
摘要:Description: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their 阅读全文

posted @ 2017-03-10 14:49 codingHeart 阅读(206) 评论(0) 推荐(0) 编辑

1. Two Sum
摘要:Description: 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 阅读全文

posted @ 2017-03-10 11:01 codingHeart 阅读(235) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示