<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"> <div clas ...
分类:
其他好文 时间:
2020-05-18 10:50:11
阅读次数:
193
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12907812.html 二叉树的最大深度(59min) 题目链接:https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/ 给定一个二叉树 ...
分类:
其他好文 时间:
2020-05-18 01:09:22
阅读次数:
126
问题 工作过程中我们时常会碰到栈溢出的问题,而这经常是由死循环引起的,见下面的代码。 那今日看了李兵老师的 "图解 Google V8 堆和栈:函数调用时如何影响到内存布局的" ,笔者才对栈溢出有了更深的了解。 首先为什么会使用栈的结构来管理函数调用? 这是因为在父函数中调用子函数,执行代码的控制权 ...
分类:
其他好文 时间:
2020-05-16 18:43:10
阅读次数:
55
问题: 给定数组,求所有子数组的最大值最小值之差的总和是多少。 这个数若太大了,对其进行取kMod=10^9+7的模 Example 1: Input: [2,1,3] Output: 6 Explanation: Subsequences are [1], [2], [3], [2,1], [2, ...
分类:
其他好文 时间:
2020-05-16 16:23:50
阅读次数:
52
在这一章中,我们将讲解 Bootstrap 底层结构的关键部分,包括我们让 web 开发变得更好、更快、更强壮的最佳实践。 HTML 5 文档类型(Doctype) Bootstrap 使用了一些 HTML5 元素和 CSS 属性。为了让这些正常工作,您需要使用 HTML5 文档类型(Doctype ...
分类:
Web程序 时间:
2020-05-16 10:54:41
阅读次数:
77
Given a string s and a string t, check if s is subsequence of t. You may assume that there is only lower case English letters in both s and t. t is po ...
分类:
其他好文 时间:
2020-05-11 13:14:30
阅读次数:
81
1.使用viewport,html文件中在<body></body>内添加meta,简单粗暴: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" ...
分类:
移动开发 时间:
2020-05-09 01:36:00
阅读次数:
110
From: https://www.cnblogs.com/pinard/p/6912636.html EM算法也称期望最大化(Expectation-Maximum,简称EM)算法,它是一个基础算法,是很多机器学习领域算法的基础,比如隐式马尔科夫算法(HMM), LDA主题模型的变分推断等等。本文 ...
分类:
编程语言 时间:
2020-05-05 17:56:50
阅读次数:
76
1.指定屏幕的缩放级别 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"> 2.reset.css(基础样 ...
分类:
移动开发 时间:
2020-05-05 00:36:32
阅读次数:
84
获取数据库表结构 select a.COLUMN_NAME,a.DATA_TYPE,a.CHARACTER_MAXIMUM_LENGTH,b.value from information_schema.COLUMNS as a left join sys.extended_properties as ...
分类:
数据库 时间:
2020-05-04 19:50:25
阅读次数:
91