forever_cc

 

2016年6月29日

leetCode 354. Russian Doll Envelopes

摘要: You have a number of envelopes with widths and heights given as a pair of integers (w, h). One envelope can fit into another if and only if both the w 阅读全文

posted @ 2016-06-29 21:46 forever_cc 阅读(202) 评论(0) 推荐(0) 编辑

2016年6月7日

extjs ajax java简单精美验证码实现 有图

摘要: 前端:利用ExtJs的autoEl功能加载图片。 小编心得:autoEl会自动加载,要实现点击验证码刷新,登录失败刷新,方法是给请求的url加上时间戳。所以刷新验证码只要在需要刷新的时候重新设置加上时间戳的src即可。 疑问解答:为什么只是给了src一个路径,并没有给图片地址,页面能显示图片呢? 目 阅读全文

posted @ 2016-06-07 20:28 forever_cc 阅读(641) 评论(0) 推荐(0) 编辑

2016年1月22日

315. Count of Smaller Numbers After Self

摘要: You are given an integer array nums and you have to return a new counts array. The counts array has the property where counts[i] is the number of smal... 阅读全文

posted @ 2016-01-22 15:23 forever_cc 阅读(617) 评论(0) 推荐(0) 编辑

2016年1月21日

316. Remove Duplicate Letters

摘要: Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure your... 阅读全文

posted @ 2016-01-21 14:22 forever_cc 阅读(239) 评论(0) 推荐(0) 编辑

2016年1月20日

318. Maximum Product of Word Lengths

摘要: Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assum... 阅读全文

posted @ 2016-01-20 15:13 forever_cc 阅读(208) 评论(0) 推荐(0) 编辑

LeetCode Bulb Switcher 319

摘要: 变换灯泡颜色There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle ... 阅读全文

posted @ 2016-01-20 14:08 forever_cc 阅读(136) 评论(0) 推荐(0) 编辑

导航