LeetCode题解
文章平均质量分 65
LeetCode题目解析
7-sevens
跑马拉松的程序员
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【数据结构】线性表之顺序表
顺序表是在计算机内存中以数组的形式保存的线性表,是指用一组地址连续的存储单元依次存储数据元素的线性结构,逻辑结构与存储位置吻合。 。。原创 2018-04-06 17:05:27 · 450 阅读 · 0 评论 -
LeetCode-2:Add Two Numbers
一、题目 原题链接:https://leetcode.com/problems/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 ...原创 2018-04-06 17:17:04 · 259 阅读 · 0 评论 -
LeetCode-3:Longest Substring Without Repeating Characters
一、题目 原题链接:https://leetcode.com/problems/longest-substring-without-repeating-characters/ 难度等级:中等 Given a string, find the length of the longest substring without repeating characters. Examples: Gi...原创 2018-04-07 23:47:28 · 228 阅读 · 0 评论 -
LeetCode-4:Median of Two Sorted Arrays
一、题目 原题链接:https://leetcode.com/problems/median-of-two-sorted-arrays/description/ 难度等级:困难 There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted...原创 2018-04-08 23:05:48 · 220 阅读 · 0 评论 -
LeetCode-5:Longest Palindromic Substring
Longest Palindromic Substring. 最长回文子串. 一、题目 Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Input: “babad” ...原创 2018-07-14 00:00:08 · 214 阅读 · 0 评论 -
LeetCode-6:ZigZag Conversion.
Longest Palindromic Substring. 最长回文子串. 一、题目 Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Input: “babad” Ou...原创 2018-07-17 23:58:35 · 233 阅读 · 0 评论 -
LeetCode-7:Reverse Integer
Reverse Integer. 反转整数. 一、题目 Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Output: -321 Example 3: ...原创 2018-07-18 00:06:06 · 344 阅读 · 0 评论
分享