Blogger Information
子龙的博客搬家啦httpswwwcnblogscomZiLongZiLong
Blog
82
fans
0
comment
1
visits
109196
integral:0
P beans:487
  • List of blog posts
  • 希尔排序

    希尔排序

    2017-11-08 13:14 Read 1084 comment 0
  • 树的表示

    数据结构

    2017-11-19 17:26 Read 1075 comment 0
  • 48. Rotate Image

    国庆快乐幺

    2018-10-01 08:06 Read 1068 comment 0
  • 关于watch

    watch和computed是姊妹篇,前言同上。 为啥姊妹呢,因为computed初始化完了就是初始化watch: function initWatch (vm, watch) { for (var key in w...

    2022-01-28 10:42 Read 1066 comment 0
  • 选择排序vs冒泡排序

    冒泡排序: 最小时间复杂度n,最差复杂度为 n^2,使用两层循环实现,依次将数组里的每个元素,与其他元素比较,只要大于当前正在比的元素就交换两者代码实现:function bubble(arr){   &nbs...

    2022-01-22 09:03 Read 1066 comment 0
  • 快速 排序

    快排在我心中一直有一个特别的位置,无论是各种笔试面试常考的排序算法,还是在现实实践中最快的排序算法,快排始终在一个特别的位置上。算法的平均时间复杂度: n *logn 最坏的时间复杂度:n^2,发生的情景:完全逆序的序列关于快排需要知道一个...

    2020-08-10 17:00 Read 1059 comment 0
  • 最近回文数

    又是被虐

    2018-09-15 20:44 Read 1010 comment 0
  • react源码解读 getNextLanes

    前言,在一次react调度更新中,getNextLanes(root, wipLanes)方法会计算出本次更新时的lanes,而这个方法又因为里边充满了很多概念以及大量计算,可能会是我们学习源码的一大障碍,本文主要用来探讨这个方法的流程和详细实现步...

    2021-08-23 11:26 Read 1001 comment 0
  • 写于vue3.0发布前夕的helloworld

    前言:vue3.0马上要来了,于今昔写一篇vue将一个字符串hellowrold渲染于页面的过程,慰藉我这几个月写vue的‘枯燥’。源码版本是2.6.10。开始:我们的模板足够简单:{{msg}}vue实例的配置也足够简单:new Vue(...

    2022-01-28 10:17 Read 971 comment 0
  • 跳跃游戏

    动态规划类问题

    2018-09-12 16:18 Read 959 comment 0
  • js回忆录(4) -- 对象,构造函数

    对象,构造函数

    2017-11-29 10:31 Read 958 comment 0
  • 归并排序

    使用js完成归并排序

    2017-10-31 10:38 Read 957 comment 0
  • 写于vue3.0发布前夕的helloworld之四

    OK。接上回到render:with(this){return _c('div',{attrs:{"id":"app"}},[_v(_s(msg))])}接着开始执行_s:一言以蔽之,就是undefined 和null输出一...

    2020-08-11 19:43 Read 956 comment 0
  • 介绍一个不知道怎么形容的小东西--Proxy

    Proxy

    2018-05-16 10:44 Read 938 comment 0
  • 近期遇到的坑

    踩坑记

    2018-03-25 21:28 Read 938 comment 0