自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 LeetCode之539,最小时间差C解法

最小时间差C解法 题目: 给定一个 24 小时制(小时:分钟 “HH:MM”)的时间列表,找出列表中任意两个时间的最小时间差并以分钟数表示。 示例 1: 输入:timePoints = [“23:59”,“00:00”] 输出:1 示例 2: 输入:timePoints = [“00:00”,“23:59”,“00:00”] 输出:0 提示: 2 <= timePoints.length <= 2 * 104 timePoints[i] 格式为 “HH:MM” 解题思路:方法一:排序 将ti

2022-01-18 14:11:15 522

原创 codewars -- 5kyu ---Convert A Hex String To RGB

codewars – 5kyu —Convert A Hex String To RGB 题目:When working with color values it can sometimes be useful to extract the individual red, green, and blue (RGB) component values for a color. Implement a function that meets these requirements: Accepts a case-

2022-01-07 17:08:34 1220

原创 codewars --- Pyramid Array --C 编程 malloc,calloc,free,双重指针等的学习。

**题目 : Write a function that when given a number >= 0, returns an Array of ascending length subarrays. pyramid(0) => [ ] pyramid(1) => [ [1] ] pyramid(2) => [ [1], [1, 1] ] pyramid(3) => [ [1], [1, 1], [1, 1, 1] ] Note: the subarrays should

2021-12-31 15:49:24 463

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除