Given a linked list and a target value T, partition it such that all nodes less than T are listed before the nodes larger than or equal to target valu ...
分类:
其他好文 时间:
2020-04-26 09:21:42
阅读次数:
55
由于要离线升级服务器中zlib版本,但rpm安装时会提示版本冲突,于是rpm -e --nodeps zlib强制将zlib, 然而再执行rpm安装zlib-1.2.7-18.el7.x86_64时提示了错误: rpm:error while loading shared libraries: li ...
分类:
其他好文 时间:
2020-04-25 23:39:13
阅读次数:
89
Vue.js - Webpack 在网页中会引用哪些常见的静态资源? JS.js .jsx .coffee .ts(TypeScript 类 C# 语言)CSS.css .less .sass .scssImages.jpg .png .gif .bmp .svg字体文件(Fonts).svg .t ...
分类:
Web程序 时间:
2020-04-25 22:00:18
阅读次数:
88
PS:个人博客原文 "Uncaught TypeError: Cannot convert object to primitive" 最近发现我的博客页面移动端上下拉菜单失效了,调试了一下,只要一点击下拉菜单就会报这个错误: 下拉菜单使用 bootstrap,部分代码如下: 我百思不得其解,这里的代 ...
分类:
其他好文 时间:
2020-04-25 19:28:05
阅读次数:
141
技术选型 采用react框架开发移动端的话,一般的架构是Preact + antd-mobile + react-hammerjs + iscroll。 Preact Preact是React的3kb轻量化方案,拥有同样的ES6 API,其拥有以下优点: 1. 体积小,React V16.0有34. ...
分类:
移动开发 时间:
2020-04-25 18:46:22
阅读次数:
97
一、题目说明 题目437. Path Sum III,给定一个二叉树和整数sum,计算路径和是sum的数量,其中路径只能是从父节点向下的。难度是Easy! 二、我的解答 这个题目绝对不是Easy!最直观的想法,先判断根节点是否有路径,然后判断左子树,右子树是否有路径。 性能如下: 三、优化措施 网上 ...
分类:
其他好文 时间:
2020-04-25 12:45:55
阅读次数:
58
安装依赖 npm install vue-seamless-scroll --save1main.js文件里面引入使用 import scroll from 'vue-seamless-scroll'Vue.use(scroll)12html代码 <template> <vue-seamless-s ...
分类:
其他好文 时间:
2020-04-25 10:40:02
阅读次数:
716
经过验证,浏览器上同一个请求无法同时访问两个controller。 如果同时请求两个controller会报异常: java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'shiroController2' bean ...
分类:
其他好文 时间:
2020-04-25 00:47:40
阅读次数:
76
问题: 求给定数组的连续子数组个数,使得子数组之乘积,小于给定值 k Example 1: Input: nums = [10, 5, 2, 6], k = 100 Output: 8 Explanation: The 8 subarrays that have product less than ...
分类:
其他好文 时间:
2020-04-24 18:39:13
阅读次数:
43
没有导入tomcat下的两个jsp的jar 解决方法: Idea->File->Project Structure->Libraries + -> java -> 找到tomcat目录 lib/ -> 选择以下两个jar : ok 即可 如果是copy来的,其中已经有jsp-api但失效,要直接 - ...
分类:
编程语言 时间:
2020-04-24 13:01:37
阅读次数:
131