- 博客(5)
- 收藏
- 关注
原创 leetcode【5】Longest Palindromic Substring
leetcode【5】Longest Palindromic SubstringtagsquestionExample:myAnswer 经典回文改编 tags string | dynamic-programmingr question Given a string s, find the longest palindromic substring in s. You may assume ...
2020-01-23 23:38:59 55
原创 leetcode【4】Median of Two Sorted Arrays
leetcode【4】Median of Two Sorted ArraystagsquestionExample:myAnswer 第一道难题:也就那样 tags array | binary-search | divide-and-conquer question There are two sorted arrays nums1 and nums2 of size m and n res...
2020-01-22 20:14:36 71
原创 leetcode【3】Longest Substring Without Repeating Characters
leetcode【3】Longest Substring Without Repeating CharacterstagsquestionExample:myAnswer 滑动窗口:尾部处理更为重要 tags **hash-table | two-pointers | string | sliding-window ** question Given a string, find the le...
2020-01-21 21:32:59 70
原创 leetcode【2】Add Two Numbers
leetcode【2】Add Two NumberstagsquestionExample:myAnswer 链表 : 指向新创建的节点 tags linked-list | math question You are given two non-empty linked lists representing two non-negative integers. The digits are ...
2020-01-19 19:37:09 87
原创 leetcode【1】Two Sum
leetcode【1】Two SumtagsquestionExample:myAnswer 平生不识 TwoSum,刷尽 LeetCode 也枉然 tags array | hash-table question Given an array of integers, return indices of the two numbers such that they add up to a s...
2020-01-19 17:28:43 93
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人