文件名称:leetcode-top75:我在Python中解决的前75种leetcode解决方案,并附有注释
文件大小:29KB
文件格式:ZIP
更新时间:2024-04-22 07:21:32
Python
前75个最有用的Leetcode问题 Python解决方案,带注释 大批 -两个和-https: -买卖股票的最佳时间-https: -包含重复-https: -阵列除自身以外的产品-https: -最大子数组-https: -最大产品子数组-https: - -在旋转的数组排序查找最小 -搜索在旋转的数组排序- -3Sum- ://leetcode.com/problems/3sum/ -盛满水的容器-https: 二进位 -1位数量-https: -计数位数-https: -缺少号码-https: -反向位-https: 动态编程 -爬楼梯-https: -找零-https: -最长递增子序列-https: -最长公共子序列-https: -编辑距离-https: -断字问题-https: -组合总和-ht
【文件预览】:
leetcode-top75-master
----Interval()
--------insert_interval.py(2KB)
--------non_overlapping_intervals.py(1KB)
--------merge_intervals.py(2KB)
----Graph()
--------num_of_islands.py(851B)
--------alien_dictionary.py(2KB)
--------course_schedule.py(1KB)
--------graph_valid_tree.py(1KB)
--------longest_consecutive_sequence.py(3KB)
--------connected_components.py(804B)
--------clone_graph.py(2KB)
--------pacific_atlantic.py(2KB)
----Binary()
--------reverse_bits.py(661B)
--------num_of_1_bits.py(359B)
--------missing_number.py(816B)
--------counting_bits.py(1KB)
----README.md(7KB)
----DynamicProgramming()
--------jump_game.py(660B)
--------longest_inc_subseq.py(868B)
--------min_cost_tickets.py(3KB)
--------climb_stairs.py(689B)
--------edit_distance.py(1KB)
--------unique_ways.py(759B)
--------longest_common_subseq.py(895B)
--------word_break.py(2KB)
--------decode_ways.py(1012B)
--------house_robber2.py(823B)
--------house_robber.py(919B)
--------combination_sum.py(2KB)
--------coin_change.py(900B)
----Array()
--------three_sum.py(1KB)
--------container_area.py(537B)
--------max_subarray_sum.py(610B)
--------product_except_self.py(882B)
--------search_min_sorted_arr.py(2KB)
--------buy_and_sell_stock.py(690B)
--------max_subarray_prod.py(1KB)
--------contains_duplicate.py(247B)
--------find_min_sorted_arr.py(1022B)
--------two_sum.py(657B)
----Tree()
--------leaves_binary_tree.py(2KB)