- 博客(3)
- 资源 (4)
- 收藏
- 关注
原创 2021-04-09 js验证字符串是否是日期格式
js验证字符串是否是日期格式function isDateFormate(val) { if (val == '' || val == undefined || val == null) { return false; } var reg = /^(\d{4})(-|\/)(\d{1,2})\2(\d{1,2})$/; if (!reg.test(val)) { return false; } var date = new
2021-04-09 16:42:51 408
原创 LeetCode 146 LRU Cache
146.LRU CacheDesign and implement a data structure forLeast Recently Used (LRU) cache. It should support the following operations:getandput.get(key)- Get the value (will always be positiv...
2019-04-29 19:33:01 94
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人