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

Algorithms

Leetcode 1089. Duplicate Zeros
发表于2024-04-01|AlgorithmsLeetcode-C++
1089. Duplicate Zeros题目Given a fixed length array arr of integers, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that...
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 1048. Longest String Chain
发表于2024-03-30|AlgorithmsLeetcode-C++
1048. Longest String ChainYou are given an array of words where each word consists of lowercase English letters. wordA is a predecessor of wordB if and only ...
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 1047. Remove All Adjacent Duplicates In String
发表于2024-03-26|AlgorithmsLeetcode-C++
1047. Remove All Adjacent Duplicates In StringYou are given a string s consisting of lowercase English letters. A duplicate removal consists of choosing two ...
Leetcode 1023. Camelcase Matching
发表于2024-03-23|AlgorithmsLeetcode-C++
1023. Camelcase MatchingGiven an array of strings queries and a string pattern, return a boolean array answer where answer[i] is true if queries[i] matches p...
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 0977. Squares of a Sorted Array
发表于2024-03-19|AlgorithmsLeetcode-C++
977. Squares of a Sorted ArrayGiven an array of integers A sorted in non-decreasing order, return an array of the squares of each number, also in sorted non-...
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 0922. Sort Array By Parity II
发表于2024-03-15|AlgorithmsLeetcode-C++
922. Sort Array By Parity IIGiven an array of integers nums, half of the integers in nums are odd, and the other half are even. Sort the array so that whenev...
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 0905. Sort Array By Parity
发表于2024-03-11|AlgorithmsLeetcode-C++
905. Sort Array By ParityGiven an integer array nums, move all the even integers at the beginning of the array followed by all the odd integers. Return any a...
Leetcode 0014. Longest Common Prefix (python)
发表于2024-03-07|AlgorithmsLeetcode-Python
14. Longest Common Prefix 你选用何种方法解题? 方法二是推荐解:纵向扫描可以提前终止,实际性能更好。 解题过程核心洞察最长公共前缀的长度不可能超过最短字符串的长度。 纵向扫描步骤 边界情况 这些方法具体怎么运用?方法一:横向扫描核心逻辑:先找前两个字符串的公共前缀,再用这个前...
Leetcode 0904. Fruit Into Baskets
发表于2024-03-06|AlgorithmsLeetcode-C++
904. Fruit Into Baskets题目In a row of trees, the i-th tree produces fruit with type tree[i]. You start at any tree of your choice, then repeatedly perform the...
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,...
1…456…15
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
最后更新时间 :
搜索
数据加载中