没有合适的资源?快使用搜索试试~ 我知道了~
leetcode答案-leetcode:leetcode
共88个文件
h:33个
c:29个
storyboard:4个
需积分: 9 0 下载量 100 浏览量
2021-06-30
01:36:05
上传
评论
收藏 68KB ZIP 举报
温馨提示
leetcode 答案leetcode 分享 LeetCode 上问题的解决方案 给定一个整数数组,返回两个数字的索引,使它们相加为特定目标。 您可以假设每个输入都只有一个解决方案,并且您不能两次使用相同的元素。 给定两个表示两个非负整数的非空链表。 数字以相反的顺序存储,它们的每个节点都包含一个数字。 将两个数字相加并将其作为链表返回。 您可以假设这两个数字不包含任何前导零,除了数字 0 本身。 输入:(2 -> 4 -> 3) + (5 -> 6 -> 4) 输出:7 -> 0 -> 8 给定一个字符串,找出没有重复字符的最长子字符串的长度。 例子: 给定“abcabcbb”,答案是“abc”,长度为3。 给定“bbbbb”,答案是“b”,长度为1。 给定“pwwkew”,答案是“wke”,长度为3。注意答案必须是子串,“pwke”是子序列,不是子串。 给定一个字符串 s,找出 s 中最长的回文子串。 您可以假设 s 的最大长度为 1000。 反转整数的数字。 示例 1:x = 123,返回 321 示例 2:x = -123,返回 -321 实现 atoi 将字符串转换为整数。
资源推荐
资源详情
资源评论
收起资源包目录
leetcode-master.zip (88个子文件)
leetcode-master
Python
151.ReverseWords.py 190B
38.countAndSay.py 972B
69.mySqrt.py 723B
1.TwoSum.py 301B
LeetCodeSwift
LeetCodeSwift.xcodeproj
project.pbxproj 12KB
LeetCodeSwift
ViewController.swift 2KB
Assets.xcassets
AppIcon.appiconset
Contents.json 585B
Scheme
TwoSum.swift 1005B
Base.lproj
LaunchScreen.storyboard 2KB
Main.storyboard 2KB
AppDelegate.swift 2KB
Info.plist 1KB
LeetCode
LeetCode
Assets.xcassets
AppIcon.appiconset
Contents.json 585B
main.m 331B
MxFunctionList.h 548B
base64.h 360B
AppDelegate.h 274B
AppDelegate.m 2KB
Scheme
31-40
NextPermutation.c 796B
NextPermutation.h 288B
SearchInsert.h 284B
SearchInsert.c 527B
11-20
IntegerToRoman.c 806B
RomanToInteger.c 1KB
removeNthFromEnd.c 721B
LongestCommonPrefix.h 291B
IntegerToRoman.h 244B
ValidParentheses.h 270B
ValidParentheses.c 2KB
RomanToInteger.h 242B
LongestCommonPrefix.c 1KB
MostWater.h 259B
MostWater.c 550B
removeNthFromEnd.h 335B
81-90
DeleteDuplicates.c 573B
MergeSortedArray.c 1KB
MergeSortedArray.h 306B
DeleteDuplicates.h 326B
MxCommon.c 905B
MxHeaders.h 945B
1-10
AddTwoNumbers.h 311B
PalindromeNumber.c 380B
StringToInteger.c 736B
FindMedianSortedArrays.c 2KB
WithoutRepeatingCharacters.c 852B
ReverseInteger.c 608B
PalindromeNumber.h 273B
ReverseInteger.h 257B
IsMatch.c 879B
LongestPalindromicSubstring.h 323B
AddTwoNumbers.c 1KB
LongestPalindromicSubstring.c 1KB
FindMedianSortedArrays.h 358B
WithoutRepeatingCharacters.h 324B
StringToInteger.h 284B
IsMatch.h 266B
51-60
MaxSubArray.c 1KB
LengthOfLastWord.c 480B
MaxSubArray.h 266B
LengthOfLastWord.h 275B
91-100
IsSameTree.h 303B
IsSameTree.c 524B
MxCommon.h 631B
61-70
PlusOne.c 789B
PlusOne.h 268B
AddBinary.c 2KB
AddBinary.h 251B
21-30
RemoveElement.c 601B
RemoveDuplicates.c 546B
MergeTwoSortedLists.h 335B
MergeTwoSortedLists.c 539B
MyStrStr.c 731B
RemoveDuplicates.h 292B
MyStrStr.h 257B
RemoveElement.h 286B
Base.lproj
LaunchScreen.storyboard 2KB
Main.storyboard 2KB
base64.c 8KB
MxFunctionList.m 2KB
ViewController.h 212B
Info.plist 1KB
ViewController.m 8KB
LeetCode.xcodeproj
project.xcworkspace
contents.xcworkspacedata 153B
project.pbxproj 34KB
.gitignore 3KB
README.md 6KB
LeetCode.xcworkspace
contents.xcworkspacedata 253B
xcshareddata
IDEWorkspaceChecks.plist 238B
共 88 条
- 1
资源评论
weixin_38608025
- 粉丝: 6
- 资源: 938
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功