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

Leetcode-C++

Leetcode 0022.GenerateParentheses
发表于2023-03-11|AlgorithmsLeetcode-C++
22. Generate Parentheses题目Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n =...
Leetcode 0021.合并两个有序链表
发表于2023-03-07|AlgorithmsLeetcode-C++
21. 合并两个有序链表将两个升序链表合并为一个新的 升序 链表并返回。新链表是通过拼接给定的两个链表的所有节点组成的。 示例 1: 示例 2: 示例 3: 题目大意需要将两个升序排列的链表合并成一个新的升序链表,新链表由原两个链表的所有节点组成,且保持升序排列。 解题思路 使用虚拟头节点...
Leetcode 0020. Valid Parentheses
发表于2023-03-04|AlgorithmsLeetcode-C++
20. Valid ParenthesesGiven a string s containing just the characters '(', ')', '{', '}', '[' and ']'...
Leetcode 0019. Remove Nth Node From End of List
发表于2023-03-01|AlgorithmsLeetcode-C++
19. Remove Nth Node From End of ListGiven the head of a linked list, remove the nth node from the end of the list and return its head. Example 1: Exampl...
Leetcode 0017. Letter Combinations of a Phone Number
发表于2023-02-26|AlgorithmsLeetcode-C++
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
发表于2023-02-22|AlgorithmsLeetcode-C++
16. 3Sum Closest题目Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum...
Leetcode 0015. 3Sum
发表于2023-02-17|AlgorithmsLeetcode-C++
15. 3Sum题目Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which giv...
Leetcode 0014. Longest Common Prefix
发表于2023-02-14|AlgorithmsLeetcode-C++
14. Longest Common Prefix题目Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an emp...
Leetcode 0013. Roman to Integer
发表于2023-02-11|AlgorithmsLeetcode-C++
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
发表于2023-02-09|AlgorithmsLeetcode-C++
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
发表于2023-02-04|AlgorithmsLeetcode-C++
11. Container With Most Water题目Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are draw...
Leetcode 0010. Regular Expression Matching
发表于2023-02-01|AlgorithmsLeetcode-C++
10. Regular Expression MatchingGiven an input string s and a pattern p, implement regular expression matching with support for '.' and '*' wh...
Leetcode 0009. Palindrome Number
发表于2023-01-29|AlgorithmsLeetcode-C++
9. Palindrome Number题目Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Exam...
Leetcode 0008. String to Integer (atoi)
发表于2023-01-24|AlgorithmsLeetcode-C++
8. String to Integer (atoi)题目Implement the myAtoi(string s) function, which converts a string to a 32-bit signed integer (similar to C/C++'s atoi fu...
Leetcode 0007. Reverse Integer
发表于2023-01-20|AlgorithmsLeetcode-C++
7. Reverse Integer题目Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: **Note:**Assume we are dealing with a...
1…8910
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
最后更新时间 :
搜索
数据加载中