Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmet ...
分类:
其他好文 时间:
2018-07-03 23:59:15
阅读次数:
283
原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=1004 Problem Description Contest time again! How excited it is to see balloons floating around. But to ...
分类:
其他好文 时间:
2018-07-03 22:29:08
阅读次数:
197
1.强制竖屏浏览 x5-orientation 2.强制全屏显示 x5-fullscreen 3. uc 全屏显示 screen -orientation 4,禁止电话和邮箱 5.font boosting 7.fixed 方法一: 头部根据html来定位,但是会有回弹 ios的body 的over ...
分类:
移动开发 时间:
2018-06-26 23:47:52
阅读次数:
259
前言 算法来自国外大牛的一篇博客: "点击此处可查看" 算法不涉及任何人工智能领域知识,仅仅是针对上下文无关文法提出的生成句子的思路。 上下文无关文法 上下文无关文法仅与句子结构有关,与上下文语意无关。 属性|单词 | S |NP VP NP |Det N / Det N NP |I / he / ...
分类:
编程语言 时间:
2018-06-21 19:48:33
阅读次数:
197
justify content: how the flex items will be aligned along main axis options: flex start | flex end | center | space between | space around | space eve ...
分类:
Web程序 时间:
2018-06-21 19:42:36
阅读次数:
196
1,display:flex 这个在父容器中声明; 2,flex-direction:row / column 默认为横向,也在父容器中设置; 3,flex:1 在子元素中设置,表示所有的子元素不管内容如何,其宽度和高度都完全一样,且加起来刚好充满父容器; 4,align-items:center ...
分类:
其他好文 时间:
2018-06-21 17:16:21
阅读次数:
186
error discription: why: 该警告希望你在&(逻辑与)表达式左右加上括号。有的时候&&(逻辑且)少写了一个&,也会产生该警告。 因为&运算符的优先级较低,低于==和!=运算符。 RE 1.cnblogs-here; End ...
分类:
其他好文 时间:
2018-06-19 10:32:36
阅读次数:
174
1.边框渐变 如: .arrow div {transition: border-color 0.5s ease-in-out; } .arrow div:hover {border-color: #009688; } 2.display的flex属性使用详解 flex的兼容性在pc端还算阔以,但是 ...
分类:
Web程序 时间:
2018-06-18 18:26:16
阅读次数:
205
说明:这个问题,困惑了好久,在网上查了很久,一直没能解决,知道我在stackoverflow上看到有一位博主的回答 链接在这里:(https://stackoverflow.com/questions/47113472/tensorboard-error-no-dashboards-are-acti ...
分类:
其他好文 时间:
2018-06-18 13:27:47
阅读次数:
1676
最近抽时间看了一些aop。好像翻译叫做切片技术。大概也能说明白是什么意思。 其中,有三个注解需要注意,分别是@Around,@Before,@After。 其中 @Around进行切片捕捉,可以捕捉到joinpoint(理解成切片对象方法)。 即对方法A进行切片,则A被调用时,执行@Around。@ ...
分类:
编程语言 时间:
2018-06-17 15:16:27
阅读次数:
8949