
LeetCode
大青上
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode- python [Add Two Numbers]
Add two numbers You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two num...原创 2018-04-10 11:33:07 · 567 阅读 · 0 评论 -
LeetCode-Python [Longest Substring Without Repeating Characters]
题目: Given a string, find the length of the longest substring without repeating characters. Examples: Given “abcabcbb”, the answer is “abc”, which the length is 3. Given “bbbbb”, the answer is “b”...原创 2018-04-10 21:09:20 · 379 阅读 · 0 评论 -
LeetCode链表篇C++ [逆序、回文、逆序II]
1. 关键点 结点定义 //Definition for singly-linked list. struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; 核心: 逆序思想 参考:https://blog.youkuaiyun.com/lycnjupt/ar...原创 2018-04-19 14:48:19 · 762 阅读 · 0 评论