![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript
musa1223
这个作者很懒,什么都没留下…
展开
-
jquery瀑布流效果的实现
<script type="text/javascript" src="js/jquery.js"></script><script type="text/javascript">/*原理:1.把所有的li的高度值放到数组里面 2.第一行的top都为0 3.计算高度值最小的值是哪个li 4.把接下来的li放到那个li的下面*/var margin = 10;/原创 2016-06-15 17:47:34 · 383 阅读 · 0 评论 -
【LEETCODE】 Find Largest Value in Each Tree Row javascript实现
leetcode 515题的要求是: You need to find the largest value in each row of a binary tree.Example: Input: 1 / \ 3 2 / \ \ 5 3 9 Output: [1, 3, 9] Subscribe to see which compa原创 2017-03-01 22:55:53 · 454 阅读 · 0 评论