堆栈哲学
堆栈哲学
全部文章
leetcode
HankerRank(1)
Luogu刷题入门篇(5)
学习笔记(8)
教程库(2)
题解(25)
归档
标签
去牛客网
登录
/
注册
堆栈哲学的博客
coderAndWAer
全部文章
/ leetcode
(共8篇)
剑指 Offer 03. 数组中重复的数字(java多解版)
题目:剑指 Offer 03. 数组中重复的数字 描述:在一个长度为 n 的数组 nums 里的所有数字都在 0~n-1 的范围内。数组中某些数字是重复的,但不知道有几个数字重复了,也不知道每个数字重复了几次。请找出数组中任意一个重复的数字。 示例:输入:[2, 3, 1, 0, 2, 5, 3]...
2021-05-04
0
560
414. Third Maximum Number(第三大的数)
题目:414. Third Maximum Number 描述:Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the m...
2021-05-04
0
466
1518. Water Bottles(换酒问题)
题目:1518. Water Bottles 描述:Given numBottles full water bottles, you can exchange numExchange empty water bottles for one full water bottle. The operati...
2021-05-04
0
576
1.Two Sum(两数之和)
题目: Two Sum 描述: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume(假设) that each...
2021-05-04
0
604
leetcode7.ReverseInteger(整数反转)
题目:Reverse Integer 描述: Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Output:...
2021-05-04
0
547
leetcode9. Palindrome Number(回文数)
题目: Palindrome Number 描述:Determine whether an integer is a palindrome.An integer is apalindrome when it reads the same backward as forward. 示例: Exampl...
2021-05-04
0
519
leetcode13.Roman to Integer(罗马数字转整数)
标题:Roman to Integer 英文描述: Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 D 5...
2021-05-04
0
578
leetcode35. Search Insert Position
题目:Search Insert Position 英文描述:Given a sorted array and a target value, return the index if the target is found. If not, return the index where it wou...
2021-05-04
0
445