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

Algorithms

Leetcode 0844. Backspace String Compare
发表于2024-03-01|AlgorithmsLeetcode-C++
844. Backspace String Compare题目Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a backspace character...
Leetcode 0826. Most Profit Assigning Work
发表于2024-02-27|AlgorithmsLeetcode-C++
826. Most Profit Assigning WorkYou have n jobs and m workers. You are given three arrays: difficulty, profit, and worker where: difficulty[i] and profit[i] ...
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 0825. Friends Of Appropriate Ages
发表于2024-02-25|AlgorithmsLeetcode-C++
825. Friends Of Appropriate AgesThere are n persons on a social media website. You are given an integer array ages where ages[i] is the age of the ith person...
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 0707. Design Linked List
发表于2024-02-20|AlgorithmsLeetcode-C++
707. Design Linked ListDesign your implementation of the linked list. You can choose to use a singly or doubly linked list.A node in a singly linked list sho...
Leetcode 0704. Binary Search
发表于2024-02-18|AlgorithmsLeetcode-C++
704. Binary Search题目Given a sorted (in ascending order) integer array nums of n elements and a target value, write a function to search target in nums. If ta...
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 0637. Average of Levels in Binary Tree
发表于2024-02-14|AlgorithmsLeetcode-C++
637. Average of Levels in Binary TreeGiven the root of a binary tree, return the average value of the nodes on each level in the form of an array. Answers wi...
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 0626. 换座位
发表于2024-02-09|AlgorithmsLeetcode-C++
626. 换座位表: Seat 编写解决方案来交换每两个连续的学生的座位号。如果学生的数量是奇数,则最后一个学生的id不交换。 按 id 升序 返回结果表。 查询结果格式如下所示。 示例 1: 解题思路通过 IF 嵌套函数实现座位交换的逻辑判断: 对于偶数 ID(id%2=0):将其 ID 减 1(...
Leetcode 0611. Valid Triangle Number
发表于2024-02-06|AlgorithmsLeetcode-C++
611. Valid Triangle NumberGiven an integer array nums, return the number of triplets chosen from the array that can make triangles if we take them as side le...
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) ...
Leetcode 0572. Subtree of Another Tree
发表于2024-02-01|AlgorithmsLeetcode-C++
572. Subtree of Another TreeGiven the roots of two binary trees root and subRoot, return true if there is a subtree of root with the same structure and node ...
Leetcode 0007. Reverse Integer (python)
发表于2024-02-01|AlgorithmsLeetcode-Python
7. Reverse Integer题目Given a signed 32-bit integer x, return x with its digits reversed. If reversing x causes the value to go outside the signed 32-bit integ...
1…567…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
最后更新时间 :
搜索
数据加载中