07 2018 档案
摘要:(1)斐波那契数列 f(1) = 1 f(2) = 2 f(n) = f(n-1) + f(n-2) (2)青蛙跳台阶 青蛙每次只能跳1个或2个台阶,有n阶台阶,青蛙有多少种跳法? 这要倒过来想,当在第n阶台阶的前一步时,青蛙只有两种选择,1或2步,f(n) = f(n-1) + f(n-2) 这样
阅读全文
摘要:参考链接:https://www.w3cplus.com/javascript/calculate-the-max-min-value-from-an-array.html Math.min.apply(Math, array); Math.min(...array); 遍历的方法求最大最小值;
阅读全文
摘要:〇,字符串,数值,数组的转化 (0)检测数据类型 参考连接:http://www.cnblogs.com/onepixel/p/5126046.html 1,, typeof 操作符 : 能检测到(string, undefined, number, boolean, function(函数), o
阅读全文
摘要:1, 内联元素,块级元素相关知识点 参考链接:https://edu.aliyun.com/a/103378 (1)置换元素 概念:浏览器根据元素的标签和属性,来决定元素的具体显示内容。<img><input><textarea><select><object>这些元素没有实际内容,即一个空元素。需
阅读全文
摘要:(1)快速复制一行 ctrl + alt + 👇 在当前行的下面复制该行 ctrl + alt + 👆 在当前行的上面复制该行 (2)调试 F5 调试 F11单步调试 F10单步跳过 F9 添加解除断点
阅读全文
摘要:相关视频链接:https://www.bilibili.com/video/av8481988/?p=5 相关github地址:https://github.com/soyaine/JavaScript30 做题思路: (1)监视input,当有change事件或mousemove事件发生的时候,就
阅读全文
摘要:(1)可以用windows自带的powershell,但是 ll,vim等命令不能使用 (2)Windows更新==》针对开发人员==》开启开发人员模式,然后在控制面板==》程序与功能==》启用或关闭windows功能==》适用于LInux的Windows子系统(beta). 打勾==》关机重启==
阅读全文
摘要:问题描述: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complex
阅读全文
摘要:问题描述: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which th
阅读全文
摘要:Linux常用的缩写: 作者:Funkunho链接:https://www.zhihu.com/question/49073893/answer/114127974来源:知乎 usr : unix system resource ls: list rm: remove mkdir: make dir
阅读全文
摘要:WXML 1, 数据绑定 2, 列表渲染 3, 条件渲染 4,<block>与<view> <block>是一个包装元素,只接受控制属性,不会在页面上进行渲染; <view>是一个组件,会在页面上进行渲染。 5,https://www.jb51.net/article/142202.htm inpu
阅读全文
摘要: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 contai
阅读全文
摘要:参考链接: 官方github:https://github.com/PHPOffice/PHPExcel 设置表格字体颜色等操作:http://www.cnblogs.com/grimm/p/9208517.html https://blog.csdn.net/qq_21386275/article
阅读全文
摘要:参考链接: https://developer.mozilla.org/zh-CN/docs/Web/API/Console 1,console.log('a'); 2,console.dir(xx); // 查询xx的用法 3, console.table(xx); //把多维数组或对象用tabl
阅读全文
摘要:1, git fetch 和 git pull 参考链接: https://stackoverflow.com/questions/292357/what-is-the-difference-between-git-pull-and-git-fetch git pull = git fetch +
阅读全文
摘要:笔记参考以下链接: 阮一峰es6 http://es6.ruanyifeng.com/ 1, ECMAScript2015,ES6,JavaScript,java区别与联系 (1)ECMA标准化组织,ECMAScript是标准,JavaScript是实现 (2)ECMAScript2015(ES20
阅读全文
摘要:笔记参考自以下链接: git官方网站 https://git-scm.com/ git小书 https://git-scm.com/book/zh/v2 阮一峰 git_cheat_sheet http://www.ruanyifeng.com/blog/2015/12/git-cheat-shee
阅读全文
摘要:1,已有github账号 2,本地已经安装git 3,本地创建ssh-key 在git bash中输入后直接回车。 设置ssh的密码 ssh key 被保存在id_rsa文件中,在c/Users/YourName/.ssh/id_rsa中,然后打开id_rsa.pub文件,复制里面所有内容,粘贴在g
阅读全文