秦小风's博客 logo

秦小风's博客

热爱分享,收获快乐

匠心独运


  • 博客
  • 项目
  • 关于
  • 订阅
  • Weibo
  • Github
  • Twitter
  • RSS
  • Email
  1. 每周一算法2018.02.09

    Can Place Flowers Suppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be planted in adjacent plots - they would compete for water and both would die. Given a flowerbed (represented as …

    24 Feb 2018 • 于 算法与数据结构基础继续阅读

  2. 每周一算法2018.02.02

    Given an integer array, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole array will be sorted in ascending order, too. You need to find the shortest such subarray and output its length…

    07 Feb 2018 • 于 算法与数据结构基础继续阅读

  3. 每周一算法2018.01.26

    Average of Levels in Binary Tree SGiven a non-empty binary tree, return the average value of the nodes on each level in the form of an array. Example 1: Input: Output: [3, 14.5, 11] Explanation: The average value of nodes on level 0 is 3, on …

    05 Feb 2018 • 于 算法与数据结构基础继续阅读

  4. 每周一算法2018.01.19

    Fizz Buzz Write a program that outputs the string representation of numbers from 1 to n. But for multiples of three it should output “Fizz” instead of the number and for the multiples of five output “Buzz”. For numbers which are multiples of both…

    05 Feb 2018 • 于 算法与数据结构基础继续阅读

  5. 大道至简 -> 汇编语言(二)

    作者:少聪 github &&掘金 寄存器 、 通用寄存器以及字在寄存器中的存储 CPU 是运算器、控制器、寄存器(CPU工作原理)等器件构成,靠内部总线链接 运算器进行信息处理 寄存器进行信息存储 控制器控制各种器件进行工作 内部总线连接各种器件,在它们之间进行数据传送 不同的 CPU 寄存器的个数、结构是不相同的。 比如 8086CPU 有 14个寄存器 : AX、BX、CX、DX、SI、DI、SP、BP、IP、CS、SS、DS、ES、PSW。 通用寄存器 8086CPU 的…

    17 Jan 2018 • 于 汇编语言继续阅读

  6. 每周一算法2018.01.12

    Arranging Coins You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins. Given n, find the total number of full staircase rows that can be formed. n is a non-negative integer and fit…

    17 Jan 2018 • 于 算法与数据结构基础继续阅读

  7. 每周一算法2018.01.05

    Longest Palindrome Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. This is case sensitive, for example "Aa" is not considered a palindrome here. Note…

    17 Jan 2018 • 于 算法与数据结构基础继续阅读


← 最近 3 / 8 更早 →
本站点采用知识共享 署名-非商业性使用-相同方式共享 4.0 国际 许可协议 基于 Ghost 搭建,感谢 阿里云 为本站提供稳定的 VPS 服务 © 2016 - 本站由 @shavekevin 创丨 京ICP备15067319号-1