
Algorithm
文章平均质量分 95
Luhui Zhang
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode Problem 2: Add Two Numbers
Problem 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 contains a single digit. Add the two numbers and...原创 2019-05-15 15:30:12 · 211 阅读 · 0 评论 -
LeetCode Problem 3: Longest Substring Without Repeating Characters
Problem Given a string, find the length of the longest substring without repeating characters. Example 1 Input: "abcabcbb" Output: 3 Explanation: The answer is "abc", with the length of 3. Example 2 ...原创 2019-05-16 08:30:48 · 249 阅读 · 0 评论 -
LeetCode Problem 1: 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 same e...原创 2019-05-12 11:21:35 · 283 阅读 · 0 评论 -
LeetCode Problem 4: Median of Two Sorted Arrays
Problem There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log(m+n))O(log(m+n))O(log(m+n))....原创 2019-06-05 16:49:55 · 217 阅读 · 0 评论