
LeetCode解题记录
文章平均质量分 80
黑色芒果
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
#2 Add Two Numbers (链表作加法)
#2 Add Two Numbers (链表作加法)题目地址:Add Two Numbers 题目分类:链表。Linked List 题目难度:Midium题目You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each o原创 2015-04-01 20:35:34 · 491 阅读 · 0 评论 -
#23 Merge k Sorted Lists (N路归并排序)
#23 Merge k Sorted Lists (N路归并排序)题目地址:#23 题目分类:链表/归并排序/堆排序 题目难度:hard题目 Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 翻译:合并K个已经排序的链表,返回一个排序好的链表。原创 2015-04-02 17:50:26 · 622 阅读 · 0 评论 -
#19 Remove Nth Node From End of List(删除链表倒数第N个节点)
#19 Remove Nth Node From End of List题目地址:#19题目 Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2.原创 2015-04-01 20:58:13 · 394 阅读 · 0 评论 -
#3 Longest Substring Without Repeating Characters(最长无重复元素子串)
#3 Longest Substring Without Repeating Characters(最长无重复元素子串)题目地址:#3 题目分类:字符串 题目难度:Midium题目 Given a string, find the length of the longest substring without repeating characters. For example, the lo原创 2015-04-03 22:46:51 · 478 阅读 · 0 评论 -
#1 Two Sum
#1 Two Sum题目地址: Two Sum题目: Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that原创 2015-06-25 14:52:28 · 559 阅读 · 0 评论