Cycle1413
码龄14年
求更新 关注
提问 私信
  • 博客:14,504
    14,504
    总访问量
  • 32
    原创
  • 4
    粉丝
  • 7
    关注
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:江西省
加入CSDN时间: 2012-11-06
博客简介:

Cycle1413的博客

查看详细资料
个人成就
  • 获得1次点赞
  • 内容获得1次评论
  • 获得1次收藏
  • 博客总排名220,930名
创作历程
  • 32篇
    2016年
成就勋章
TA的专栏
  • LeetCode
    32篇

TA关注的专栏 1

TA关注的收藏夹 0

TA关注的社区 0

TA参与的活动 0

创作活动更多

「谁说嵌入式只是调包和焊板子?」—— 2026嵌入式全栈技术征锋令

谁说嵌入式只会“Ctrl+C 调包”和“拿电烙铁焊板子”?2026嵌入式全栈技术征锋令正式启幕! 本次活动专为硬核硬件/软件开发者打造,无论你是刚玩转裸机外设的萌新,还是精通RTOS调度、死磕底层驱动的行业老手,亦或是执掌系统架构的大神,这里都是你证明实力的舞台! 拒绝表面功夫,每一行代码,都有撬动硬件的力量!晒出你的硬核工程实战,为嵌入式开发者的全栈硬实力正名!

211人参与 去参加
  • 最近
  • 文章
  • 专栏
  • 代码仓
  • 资源
  • 收藏
  • 关注/订阅/互动
更多
  • 最近

  • 文章

  • 专栏

  • 代码仓

  • 资源

  • 收藏

  • 关注/订阅/互动

  • 社区

  • 帖子

  • 问答

  • 课程

  • 视频

搜索 取消

LeetCode 368: Largest Divisible Subset

368. Largest Divisible SubsetDifficulty: Medium Given a set of distinct positive integers, find the largest subset such that every pair (Si, Sj) of elements in this subset satisfies: Si % Sj = 0 or Sj
原创
博文更新于 2016.07.15 ·
590 阅读 ·
0 点赞 ·
1 评论 ·
0 收藏

LeetCode 374: Guess Number Higher or Lower

374. Guess Number Higher or LowerDifficulty: Easy We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you guess wr
原创
博文更新于 2016.07.15 ·
446 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 209: Minimum Size Subarray Sum

209. Minimum Size Subarray SumDifficulty: Medium Given an array of n positive integers and a positive integer s, find the minimal length of a subarray of which the sum ≥ s. If there isn’t one, return
原创
博文更新于 2016.07.07 ·
504 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 239: Sliding Window Maximum

239. Sliding Window MaximumDifficulty: Hard Given an array nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k numbers i
原创
博文更新于 2016.07.06 ·
430 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 330: Patching Array

330. Patching ArrayDifficulty: Hard Given a sorted positive integer array nums and an integer n, add/patch elements to the array such that any number in range [1, n] inclusive can be formed by the sum
原创
博文更新于 2016.07.01 ·
444 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 214: Shortest Palindrome

214. Shortest PalindromeDifficulty: Hard Given a string S, you are allowed to convert it to a palindrome by adding characters in front of it. Find and return the shortest palindrome you can find by pe
原创
博文更新于 2016.06.30 ·
697 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 142: Linked List Cycle II

142. Linked List Cycle IIDifficulty: Medium Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Note: Do not modify the linked list.Follow up: Can you solve
原创
博文更新于 2016.06.22 ·
384 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 141: Linked List Cycle

141. Linked List CycleDifficulty: Easy Given a linked list, determine if it has a cycle in it.Follow up: Can you solve it without using extra space?思路定义两个指针,同时从链表头结点出发,一个指针一次走一步,另一个指针一次走两步。如果快的指针追上了慢
原创
博文更新于 2016.06.22 ·
349 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 092: Reverse Linked List II

092. Reverse Linked List IIDifficulty: Medium Reverse a linked list from position m to n. Do it in-place and in one-pass.For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4,return 1->4->3->2->5->
原创
博文更新于 2016.06.22 ·
419 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 206: Reverse Linked List

206. Reverse Linked ListDifficulty: Easy Reverse a singly linked list.思路为了反转链表,需要改变链表中指针的方向,使next指向前面一个结点。 每次调整一个结点,已调整的结点的下一结点为前面的结点。 假设需要调整结点i,调整结束后,i的next要指向它前面的结点h,且链表会在i和最初next指向的结点j之间断裂,为了防止无法
原创
博文更新于 2016.06.22 ·
403 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 264: Ugly Number II

264. Ugly Number IIDifficulty: Medium Write a program to find the n-th ugly number.Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 1, 2, 3, 4, 5, 6, 8, 9, 10,
原创
博文更新于 2016.06.16 ·
447 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 263: Ugly Number

263. Ugly NumberDifficulty: Easy Write a program to check whether a given number is an ugly number.Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 6, 8 are ugl
原创
博文更新于 2016.06.16 ·
830 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 275: H-Index II

275. H-Index IIDifficulty: Medium Follow up for H-Index: What if the citations array is sorted in ascending order? Could you optimize your algorithm?Hint: Expected runtime complexity is in O(log n) a
原创
博文更新于 2016.06.16 ·
462 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 274: H-Index

274. H-IndexDifficulty: Medium Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher’s h-index. According to the definition
原创
博文更新于 2016.06.16 ·
464 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 318: Maximum Product of Word Lengths

318. Maximum Product of Word LengthsDifficulty: Medium Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters.You may a
原创
博文更新于 2016.06.16 ·
403 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 316: Remove Duplicate Letters

316. Remove Duplicate LettersDifficulty: Hard Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure your re
原创
博文更新于 2016.06.07 ·
443 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 268: Missing Number

268. Missing NumberDifficulty: Medium Given an array containing n distinct numbers taken from 0, 1, 2, …, n, find the one that is missing from the array. For example, Given nums = [0, 1, 3] return 2
原创
博文更新于 2016.06.03 ·
373 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 228: Summary Ranges

228. Summary RangesDifficulty: Medium Given a sorted integer array without duplicates, return the summary of its ranges. For example, given [0,1,2,4,5,7], return [“0->2”,”4->5”,”7”].思路由于数组元素已排好序,而且没有
原创
博文更新于 2016.06.03 ·
417 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 091: Decode Ways

091. Decode WaysDifficulty: Medium A message containing letters from A-Z is being encoded to numbers using the following mapping: ‘A’ -> 1 ‘B’ -> 2 … ‘Z’ -> 26 Given an encoded message containing
原创
博文更新于 2016.06.03 ·
352 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode 329: Longest Increasing Path in a Matrix

329. Longest Increasing Path in a MatrixDifficulty: Hard Given an integer matrix, find the length of the longest increasing path. From each cell, you can either move to four directions: left, right,
原创
博文更新于 2016.05.25 ·
501 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多