没有合适的资源?快使用搜索试试~ 我知道了~
leetcode下载-Leetcode:力码
共61个文件
py:31个
cpp:28个
055_jump_game,cpp:1个
需积分: 9 0 下载量 141 浏览量
2021-06-29
20:37:39
上传
评论
收藏 38KB ZIP 举报
温馨提示
leetcode下载 Leetcode 刷题记录 01. Two Sum 暴力破解时间复杂度高,使用hash表降低时间复杂度 02. Add Two Numbers 由于链表是逆置的,所以直接顺序遍历两个链表,按照加法器规则依次相加各节点,并进位 最后一组相加的进位如果为1,要记住加进结果里 为了计算上的统一, 可以把两个数组扩充到一样长 遍历完俩,再写两个循环遍历剩下的数,这个代码看起来真是太蠢了 148. Sort List 自己写的 noob 时间复杂度要求为O(nlogn),于是使用归并排序 "Faster than 21.08%" of c++ online submissions for Sort List. Less than 5.02% of c++ online submissions for Sort List." 不太彳亍 大佬写的 找到了用python写的大佬,感觉方法似乎是一样的 03.23 03. Longest Substring Without Repeating Characters 使用数组进行直接访存 为什么会想不通用hash 应该是需要减少重复访
资源推荐
资源详情
资源评论
收起资源包目录
Leetcode-master.zip (61个子文件)
Leetcode-master
027_remove_element.cpp 619B
202_happy_number.cpp 664B
035_search_insert_position.cpp 490B
020_valid_parentheses.cpp 2KB
053_maximum_subarray.cpp 767B
066_plus_one.py 766B
011_container_with_most_water.cpp 580B
206_reverse_linked_list.cpp 509B
416_optimizing.py 680B
350_intersection_of_2arrays_ii.py 1001B
009_palindrome_number.py 318B
026_remove_duplicates_from_sorted_array.cpp 1KB
387_first_unique_character.py 380B
913_cat_and_mouse.py 2KB
946_validate_stack_sequences.py 477B
011_container_with_most_water.py 460B
001_two_sum.py 454B
055_jump_game,cpp 1KB
283_move_zeros.py 501B
002_add_two_numbers.cpp 1KB
060_permutation_sequence.cpp 1KB
010_regular_expression_matching.py 1003B
003_longest_substring_without_repeating_characters.cpp 760B
022_generate_parenthese.cpp 928B
014_longest_common_prefix.py 482B
200_number_of_islands.cpp 1KB
007_reverse_integer.cpp 461B
122_best_to_buy_and_sell_stock_one.py 343B
014_longest_common_prefix.cpp 665B
036_valid_sudoku.py 1KB
020_valid_parentheses.py 797B
123_best_time_to_buy_and_sell_stock.cpp 3KB
016_3sum_closest.py 694B
009_palindrome_number.cpp 439B
421_maximum_xor.py 576B
002_add_two_numbers.py 776B
154_find_minimun_in_rotated_sorted_array.py 772B
113_path_sum_2.cpp 944B
001_two_sum.cpp 480B
008_string_to_integer.cpp 1KB
207_course_schedual.py 2KB
105_construct_binary_tree.py 990B
227_basic_calculator_2.cpp 2KB
021_merge_two_sorted_lists.cpp 1001B
026_python.py 435B
005_manacher.py 889B
022_generate_parentheses.py 539B
504_base_7.cpp 397B
017_letter_combinations_of_a_phone_number.py 679B
013_roman_to_integer.cpp 3KB
189_rotate_array.py 544B
637_average_of_levels_in_binary_tree.cpp 1KB
148_sort_list_ver_noob.cpp 2KB
README.md 22KB
012_Integer_to_roman.cpp 2KB
005_longest_palindromic_substring.py 1KB
003_longest_substring_without_repeating_characters.py 1KB
048_rotate_image.py 963B
028_implement_strstr.cpp 148B
416_partition_equal_subset_sum.py 844B
015_3sum.py 2KB
共 61 条
- 1
资源评论
weixin_38627769
- 粉丝: 4
- 资源: 920
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功