leetcode生成斜矩阵-Leetcode:Leetcode刷题记录

时间:2021-07-01 00:59:03
【文件属性】:
文件名称:leetcode生成斜矩阵-Leetcode:Leetcode刷题记录
文件大小:28KB
文件格式:ZIP
更新时间:2021-07-01 00:59:03
系统开源 leetcode生成斜矩阵 Leetcode Leetcode刷题记录 [toc] 1 给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数,并返回他们的数组下标。 你可以假设每种输入只会对应一个答案。但是,数组中同一个元素不能使用两遍。 示例: 给定 nums = [2, 7, 11, 15], target = 9 因为 nums[0] + nums[1] = 2 + 7 = 9 所以返回 [0, 1] 2 给出两个 非空 的链表用来表示两个非负的整数。其中,它们各自的位数是按照 逆序 的方式存储的,并且它们的每个节点只能存储 一位 数字。 如果,我们将这两个数相加起来,则会返回一个新的链表来表示它们的和。 您可以假设除了数字 0 之外,这两个数都不会以 0 开头。 示例: 输入:(2 -> 4 -> 3) + (5 -> 6 -> 4) 输出:7 -> 0 -> 8 原因:342 + 465 = 807 3 给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。 示例 1: 输入: "abcabcbb" 输出: 3 解释:
【文件预览】:
Leetcode-master
----t2.cpp(784B)
----t60.cpp(1KB)
----t1025.cpp(126B)
----t637.cpp(914B)
----t167.cpp(579B)
----t93.cpp(874B)
----t51.cpp(1KB)
----t486.cpp(925B)
----t77.cpp(483B)
----t4.cpp(1KB)
----t107.cpp(852B)
----LICENSE(34KB)
----t329.cpp(2KB)
----README.md(14KB)
----t1.cpp(1018B)
----t240.cpp(590B)
----t64.cpp(675B)
----t95.cpp(1KB)
----t410.cpp(1KB)
----t40.cpp(846B)
----t3.cpp(687B)
----t5.cpp(958B)
----t257.cpp(514B)
----t104.cpp(348B)
----t392.cpp(285B)

网友评论