LeetCode-15-3Sum 题目Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Notice The solution set must not 2020-12-29 LeetCode 算法
为什么祖传代码会被称为屎山[转载] 原文链接:https://juejin.cn/post/6896312475390574599 有一天,有几条虫子,干扰了老板赚钱,老板希望你能抓住它们。 2020-12-28
LeetCode-13-RomanToInteger 题目Roman numerals are represented by seven different symbols: I , V , X , L , C , D and M . 12345678Symbol ValueI 1V 5X 10L 50C 100D 500M 1000 For example, two is written as II in Roman nume 2020-12-23 LeetCode 算法
LeetCode-11-ContainerWithMostWater 题目Given n non-negative integers a1, a2, …, an , where each represents a point at coordinate (i, ai). nvertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two 2020-12-22 LeetCode 算法
LeetCode-09-PalindromeNumber 题目Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. 2020-12-21 LeetCode 算法
LeetCode-07-ReverseInteger 题目Given a 32-bit signed integer, reverse digits of an integer. 2020-12-20 LeetCode 算法
LeetCode-06-ZigZagConversion 题目The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) 2020-12-19 LeetCode 算法
LeetCode-05-LongestPalindromicSubstring 题目Given a string s, return the longest palindromic substring in s. 2020-12-18 LeetCode 算法
LeetCode-04-FindMedianSortedArrays 题目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)). You may assume nums1 and n 2020-12-16 LeetCode 算法
LeetCode-03-LengthOfLongestSubstring 题目Given a string, find the length of the longest substring without repeating characters. 2020-12-14 LeetCode 算法