彭峰的博客
整数加法371. Sum of Two IntegersCalculate the sum of two integers a and b, but you are not allowed to use the operator + and
2021-05-02 彭峰
两数相加2. Add Two NumbersYou are given two non-empty linked lists representing two non-negative integers. The digits are st
2021-05-02 彭峰
LeetCode 12 Integer to Roman 阿拉伯数字转换为罗马数字12. Integer to RomanRoman numerals are represented by seven different symbols:
2021-05-02 彭峰
13. 罗马数字转阿拉伯数字13. Roman to IntegerRoman numerals are represented by seven different symbols: I, V, X, L, C, D and M. 123
2021-05-02 彭峰
11. Container With Most Water 容器最大水容量11. Container With Most WaterGiven n non-negative integers a1, a2, …, an , where ea
2021-05-02 彭峰
LeetCode 8. String to Integer (atoi) 字符串转整形8. String to Integer (atoi)Implement atoi which converts a string to an integ
2021-05-02 彭峰
LeetCode 6. ZigZag ConversionZ字形转换6. ZigZag ConversionThe string "PAYPALISHIRING" is written in a zigzag patte
2021-05-02 彭峰
最长子回文串5. Longest Palindromic SubstringGiven a string s, find the longest palindromic substring in s. You may assume that
2021-05-02 彭峰
字符串的长度3. Longest Substring Without Repeating CharactersGiven a string, find the length of the longest substring without
2021-05-02 彭峰
字符串乘法43.Multiply StringsGiven two non-negative integers num1 and num2 represented as strings, return the product of num1
2021-05-02 彭峰
7 / 24