avatar
文章
823
标签
1101
分类
40
首页
主线
归档
标签
关于
家书
  • 父亲的与子书
  • 给女友的情书
LogoHespethornのBlog
搜索
首页
主线
归档
标签
关于
家书
  • 父亲的与子书
  • 给女友的情书

Leetcode-Python

Leetcode 0022.Generate Parentheses(python)
发表于2024-04-16|AlgorithmsLeetcode-Python
22. Generate Parentheses题目Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Example 1: Example 2: ...
Leetcode 0021.Merge Two Sorted Lists(python)
发表于2024-04-11|AlgorithmsLeetcode-Python
21. Merge Two Sorted Lists题目You are given the heads of two sorted linked lists list1 and list2. Merge the two lists into one sorted list. The list should be ...
Leetcode 0020.Valid Parentheses(python)
发表于2024-04-06|AlgorithmsLeetcode-Python
20. Valid Parentheses题目Given a string s containing just the characters '(', ')', '{', '}', '[' and ']&#...
Leetcode 0019.Remove Nth Node From End of List(python)
发表于2024-04-01|AlgorithmsLeetcode-Python
19. Remove Nth Node From End of List题目Given the head of a linked list, remove the nth node from the end of the list and return its head. Example 1: Exampl...
Leetcode 0018.4Sum(python)
发表于2024-03-27|AlgorithmsLeetcode-Python
18. 4Sum题目Given an array nums of n integers, return an array of all the unique quadruplets [nums[a], nums[b], nums[c], nums[d]] such that: 0 <= a, b, c, ...
Leetcode 0017.Letter Combinations of a Phone Number(python)
发表于2024-03-22|AlgorithmsLeetcode-Python
17. Letter Combinations of a Phone Number题目Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could...
Leetcode 0016.3Sum Closest(python)
发表于2024-03-17|AlgorithmsLeetcode-Python
16. 3Sum Closest题目Given an integer array nums of length n and an integer target, find three integers in nums such that the sum is closest to target. Return t...
Leetcode 0015.3Sum(python)
发表于2024-03-12|AlgorithmsLeetcode-Python
15. 3Sum题目Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums...
Leetcode 0014. Longest Common Prefix (python)
发表于2024-03-07|AlgorithmsLeetcode-Python
14. Longest Common Prefix 你选用何种方法解题? 方法二是推荐解:纵向扫描可以提前终止,实际性能更好。 解题过程核心洞察最长公共前缀的长度不可能超过最短字符串的长度。 纵向扫描步骤 边界情况 这些方法具体怎么运用?方法一:横向扫描核心逻辑:先找前两个字符串的公共前缀,再用这个前...
Leetcode 0013. Roman to Integer (python)
发表于2024-03-02|AlgorithmsLeetcode-Python
13. Roman to Integer题目Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. For example, 2 is written as II in Roman numeral,...
Leetcode 0012. Integer to Roman (python)
发表于2024-02-26|AlgorithmsLeetcode-Python
12. Integer to Roman题目Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. For example, 2 is written as II in Roman numeral,...
Leetcode 0011. Container With Most Water (python)
发表于2024-02-21|AlgorithmsLeetcode-Python
11. Container With Most Water题目You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the i-th li...
Leetcode 0010. Regular Expression Matching (python)
发表于2024-02-16|AlgorithmsLeetcode-Python
10. Regular Expression Matching题目Given an input string s and a pattern p, implement regular expression matching with support for '.' and '*' ...
Leetcode 0009. Palindrome Number (python)
发表于2024-02-11|AlgorithmsLeetcode-Python
9. Palindrome Number题目Given an integer x, return true if x is a palindrome, and false otherwise. Example 1: Example 2: Example 3: Constraints: -2³¹...
Leetcode 0008. String to Integer (atoi) (python)
发表于2024-02-06|AlgorithmsLeetcode-Python
8. String to Integer (atoi)题目Implement the myAtoi(string s) function, which converts a string to a 32-bit signed integer. The algorithm for myAtoi(string s) ...
123
avatar
Hespethorn
文章
823
标签
1101
分类
40
GitHub
fox
ciwei
最新文章
计算机原则五讲(一):这笔投入能换回什么2026-11-20
计算机原则五讲(三):责任放在哪一层2026-11-20
计算机原则五讲(二):故障发生时还剩什么保证2026-11-20
计算机原则五讲(五):规模一上来,系数说了算2026-11-20
计算机原则五讲(六):没有免费的优化2026-11-20
分类
  • AI-ML53
    • AI-App20
    • AI-News33
  • Algorithms219
    • DSA35
    • Leetcode-C++141
    • Leetcode-Mysql6
    • Leetcode-Python37
  • CS-Fundamentals41
    • CS501
    • CS61A20
    • CS61B20
  • CS-Principles13
  • Database20
    • Mysql5
标签
CS-Principles专栏介绍分治存储垃圾回收容错引用透明封装关注点分离逃逸分析分布式事务数据一致性安全工程算法分析网络协议操作系统软件测试语言运行时工程运维版本管理
归档
  • 2026年11月 20
  • 2026年10月 10
  • 2026年09月 53
  • 2026年08月 56
  • 2026年07月 38
  • 2026年06月 47
网站信息
文章数目 :
823
运行时间 :
本站总字数 :
1885.8k
最后更新时间 :
搜索
数据加载中