LeetCode: 1. Two Sum LeetCode

LeetCode: 1. Two Sum

引言 题目链接:https://leetcode.com/problems/two-sum/description/ 题目大意 给出一个序列和一个目标值,判断序列中是否有两个数相加等于序列值 因此认为...
阅读全文
LeetCode: 29. Divide Two Integers LeetCode

LeetCode: 29. Divide Two Integers

引言 题目链接:https://leetcode.com/problems/divide-two-integers/ 题目大意 给定一个除数和被除数,要求不使用除法、乘法以及取模操作计算。返回两个数做...
阅读全文
LeetCode: 9. Palindrome Number LeetCode

LeetCode: 9. Palindrome Number

引言 题目链接:https://leetcode.com/problems/palindrome-number/description/ 题目大意 判断一个数字是不是回文数字。 Example 题解 ...
阅读全文
LeetCode: 2. Add Two Numbers LeetCode

LeetCode: 2. Add Two Numbers

引言 题目链接:https://leetcode.com/problems/add-two-numbers/description/ 题目大意 给出两个的倒序的链表,链表每个节点的值为非负个位数,链表...
阅读全文
LeetCode: 22. Generate Parentheses LeetCode

LeetCode: 22. Generate Parentheses

引言 题目链接:https://leetcode.com/problems/generate-parentheses/description/ 题目大意 给出数字n,生成共有n对括号的所有正确的形式,...
阅读全文
LeetCode: 6. ZigZag Conversion LeetCode

LeetCode: 6. ZigZag Conversion

引言 题目链接:https://leetcode.com/problems/zigzag-conversion/description/ 题目大意 给出一个字符串,和一个指定行数,将字符串纵向按照z字...
阅读全文