
Algorithm & DataStructure
算法与数据结构
IT•轩辕
多言数穷,不如守中。十语九中,未必称奇;一语未中,愆尤骈集。
展开
-
【算法教程】排列与组合的实现
【代码】【算法教程】排列与组合的实现。原创 2023-10-21 23:00:35 · 1420 阅读 · 1 评论 -
【Google】给两个已序数组,写一个函数求出第K小的数
【代码】【Google】给两个已序数组,写一个函数求出第K小的数(听说是GOOGLE给出的题)原创 2023-10-17 23:45:54 · 132 阅读 · 0 评论 -
C站算法技能题-题解(javascript)
【代码】C站算法技能题-题解(javascript)原创 2025-03-22 11:29:24 · 153 阅读 · 0 评论 -
【HDU】2013 蟠桃记
【代码】【HDU】2013 蟠桃记。原创 2025-01-27 10:30:00 · 141 阅读 · 0 评论 -
【HDU】2096 小明A+B
【代码】【HDU】2096 小明A+B。原创 2025-01-28 09:00:00 · 106 阅读 · 0 评论 -
【HDU】2014 青年歌手大奖赛_评委会打分
【代码】【HDU】2014 青年歌手大奖赛_评委会打分。原创 2025-01-29 01:00:00 · 101 阅读 · 0 评论 -
【HDU】2029 Palindromes _easy version
【代码】【HDU】2029 Palindromes _easy version。原创 2025-01-23 01:10:50 · 343 阅读 · 0 评论 -
【HDU】2012 素数判定
【代码】【HDU】2012 素数判定。原创 2025-01-21 08:29:23 · 119 阅读 · 0 评论 -
【HDU】2011 多项式求和
【代码】【HDU】2011 多项式求和。原创 2025-01-26 09:00:00 · 95 阅读 · 0 评论 -
【HDU】2010 水仙花数
【代码】【HDU】2010 水仙花数。原创 2025-01-25 10:30:00 · 132 阅读 · 0 评论 -
【HDU】2009 求数列的和
【代码】【HDU】2009 求数列的和。原创 2025-01-24 08:45:00 · 143 阅读 · 0 评论 -
【HDU】2008 数值统计
【代码】【HDU】2008 数值统计。原创 2025-01-23 08:45:00 · 107 阅读 · 0 评论 -
【HDU】2007 平方和与立方和
【代码】【HDU】2007 平方和与立方和。原创 2025-01-22 08:45:00 · 94 阅读 · 0 评论 -
【HDU】2006 求奇数的乘积
【代码】【HDU】2006 求奇数的乘积。原创 2025-01-21 08:45:00 · 115 阅读 · 0 评论 -
【HDU】2005 第几天?
【代码】【HDU】2005 第几天?原创 2025-01-17 23:55:03 · 247 阅读 · 0 评论 -
【HDU】2004 成绩转换
【代码】【HDU】2004 成绩转换。原创 2025-01-20 08:45:00 · 210 阅读 · 0 评论 -
【HDU】2003 求绝对值
【代码】【HDU】2003 求绝对值。原创 2025-01-19 11:00:00 · 95 阅读 · 0 评论 -
【HDU】2002 计算球体积
【代码】【HDU】2002 计算球体积。原创 2025-01-18 10:45:00 · 103 阅读 · 0 评论 -
【HDU】2001 计算两点间的距离
【代码】【HDU】2001 计算两点间的距离。原创 2025-01-17 23:19:00 · 111 阅读 · 0 评论 -
【HDU】1096 A+B for Input-Output Practice (VIII)
【代码】【HDU】1096 A+B for Input-Output Practice (VIII)原创 2025-01-16 08:45:00 · 157 阅读 · 0 评论 -
【HDU】1095 A+B for Input-Output Practice (VII):双换行
【代码】【HDU】1095 A+B for Input-Output Practice (VII):双换行。原创 2025-01-15 08:45:00 · 191 阅读 · 0 评论 -
【HDU】1018 Big Number
【代码】【HDU】1018 Big Number。原创 2025-01-14 08:45:00 · 217 阅读 · 0 评论 -
【HDU】1013 Digital Roots
【代码】【HDU】1013 Digital Roots。原创 2025-01-13 08:45:00 · 469 阅读 · 0 评论 -
【HDU】1002 A + B Problem II (大数加法,溢出问题)
【代码】【HDU】1002 A + B Problem II (大数加法,溢出问题)原创 2025-01-12 10:30:00 · 280 阅读 · 0 评论 -
【HDU】1048 The Hardest Problem Ever
【代码】【HDU】1048 The Hardest Problem Ever。原创 2025-01-11 11:45:00 · 153 阅读 · 0 评论 -
【HDU】2000 ASCII码排序
【代码】【HDU】2000 ASCII码排序。原创 2025-01-10 08:45:00 · 125 阅读 · 0 评论 -
【HDU】1001 Sum Problem
【代码】【HDU】1001 Sum Problem。原创 2025-01-09 08:45:00 · 175 阅读 · 0 评论 -
【HDU】1094 A+B for Input-Output Practice (VI):综合输入
【代码】【HDU】1094 A+B for Input-Output Practice (VI):综合输入。原创 2025-01-08 18:00:00 · 156 阅读 · 0 评论 -
【HDU】1093 A+B for Input-Output Practice (V):综合输入
【代码】【HDU】1093 A+B for Input-Output Practice (V):综合输入。原创 2025-01-08 08:30:00 · 209 阅读 · 0 评论 -
【HDU】1000 A + B Problem
【代码】【HDU】1000 A + B Problem。原创 2025-01-07 22:11:31 · 343 阅读 · 0 评论 -
【HDU】1092 A+B for Input-Output Practice (IV)
【代码】1092 A+B for Input-Output Practice (IV)原创 2025-01-07 08:45:00 · 394 阅读 · 0 评论 -
【HDU】1091 A+B for Input-Output Practice (III)
【代码】【HDU】1089 A+B for Input-Output Practice (I)原创 2025-01-06 08:45:00 · 130 阅读 · 0 评论 -
【HDU】1090 A+B for Input-Output Practice (II)
【代码】【HDU】1089 A+B for Input-Output Practice (I)原创 2025-01-05 22:41:45 · 264 阅读 · 0 评论 -
【HDU】1089 A+B for Input-Output Practice (I)
【代码】【HDU】1089 A+B for Input-Output Practice (I)原创 2025-01-05 22:41:13 · 230 阅读 · 0 评论 -
【LeetCode 0006】【字符/几何】Z字形变换
The string is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)And then read line by line: Write the code that will take a string and make this conversion given a原创 2024-07-29 10:00:00 · 199 阅读 · 0 评论 -
【LeetCode 0005】【动态规划】最长回文子串
Given a string , return the longest palindromic substring in .Example 1:Example 2:Constraints:原创 2024-07-28 22:43:01 · 223 阅读 · 0 评论 -
【LeetCode 0004】【数组/分治】寻找两个正序数组的中位数
Given two sorted arrays and of size and respectively, return the median of the two sorted arrays.The overall run time complexity should be .Example 1:Example 2:Constraints:原创 2024-07-25 08:00:00 · 239 阅读 · 0 评论 -
【LeetCode 0003】【滑动窗口】无重复字符的最长子串
Given a string `s`, find the length of the **longest** **substring** without repeating characters.原创 2024-07-24 23:34:45 · 466 阅读 · 1 评论 -
【LeetCode 0002】【链表】两数相加
You are given two **non-empty** linked lists representing two non-negative integers. The digits are stored in **reverse order**, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.原创 2024-07-24 23:31:12 · 402 阅读 · 0 评论 -
LeetCode 常见题型汇总
前30剪枝二分查找字典树位运算动态规划并查集LRU缓存布隆过滤器。原创 2024-07-21 23:49:28 · 315 阅读 · 1 评论