leetcode第321题-leetcode:我的leetcode代码,可能有误

时间:2021-07-06 22:48:18
【文件属性】:
文件名称:leetcode第321题-leetcode:我的leetcode代码,可能有误
文件大小:60KB
文件格式:ZIP
更新时间:2021-07-06 22:48:18
系统开源 leetcode第321题 leetcode leetcode of code by me, Maybe wrong. add description: 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,给定一个字符串,请你找出其中不含有重复字符的 最长子
【文件预览】:
leetcode-master
----21_Merge_Two_Sorted_Lists()
--------main.cpp(2KB)
--------CMakeLists.txt(476B)
----.gitignore(430B)
----9_palindrome_number()
--------main.cpp(968B)
--------CMakeLists.txt(475B)
----README.md(7KB)
----11_container_with_most_water()
--------main.cpp(748B)
--------CMakeLists.txt(476B)
----14_longest_common_prefix()
--------main.cpp(988B)
--------CMakeLists.txt(476B)
----13_roman_to_integer()
--------main.cpp(2KB)
--------CMakeLists.txt(476B)
----.ycm_extra_conf.py(5KB)
----7_reverse_integet()
--------main.cpp(649B)
--------CMakeLists.txt(642B)
----28_Implement_strStr()
--------main.cpp(2KB)
--------CMakeLists.txt(534B)
----27_Remove_Element()
--------main.cpp(3KB)
--------CMakeLists.txt(534B)
----34_Find_First_and_Last_Position_of_Element_in_Sorted_Array()
--------main.cpp(2KB)
--------CMakeLists.txt(534B)
----8_atoi()
--------main.cpp(2KB)
--------CMakeLists.txt(475B)
----12_integer_to_roman()
--------main.cpp(1KB)
--------CMakeLists.txt(476B)
----35_Search_Insert_Position()
--------main.cpp(2KB)
--------CMakeLists.txt(534B)
----29_Divide_Two_Integers()
--------main.cpp(3KB)
--------CMakeLists.txt(534B)
----23_Merge_k_Sorted_Lists()
--------main.cpp(4KB)
--------CMakeLists.txt(534B)
----19_remove_Nth_node_from_end_of_list()
--------main.cpp(2KB)
--------CMakeLists.txt(476B)
----22_Generate_Parentheses()
--------main.cpp(1KB)
--------CMakeLists.txt(476B)
----2_two_link_add(3KB)
----6_zigzag_conver()
--------main.cpp(2KB)
--------CMakeLists.txt(642B)
--------main.cppxx(2KB)
----20_Valid_parentheses()
--------main.cpp(2KB)
--------CMakeLists.txt(476B)
----31_Next_Permutation()
--------main.cpp(2KB)
--------CMakeLists.txt(534B)
----17_letter_combinations_of_a_phone_number()
--------main.cpp(2KB)
--------CMakeLists.txt(476B)
----1_two_num_add(5KB)
----4_long_no_repeat_char()
--------main.cpp(32KB)
--------CMakeLists.txt(642B)
--------4_longest_no_repeat_char(2KB)
----15_3sum()
--------main.cpp(2KB)
--------CMakeLists.txt(476B)
----16_3num_closest()
--------main.cpp(2KB)
--------CMakeLists.txt(476B)
----26_Remove_Duplicates_from_Sorted_Array()
--------main.cpp(2KB)
--------CMakeLists.txt(534B)
----18_4sum()
--------main.cpp(3KB)
--------CMakeLists.txt(476B)
----3_find_mid_num(3KB)
----36_Valid_Sudoku()
--------main.cpp(5KB)
--------CMakeLists.txt(534B)
----5_longest_palindromic_substring()
--------5_in_web_use(2KB)
--------5_longest_palindromic_substring.cpp(3KB)

网友评论