2021年8月18日
摘要: 【题目】 对非负数求平方根,不能调用系统自带库 Given a non-negative integer x, compute and return the square root of x. Since the return type is an integer, the decimal digi 阅读全文
posted @ 2021-08-18 15:44 alau 阅读(132) 评论(0) 推荐(0) 编辑
2021年8月17日
摘要: 主要思想【并查集/Kruskal】、【二分dfs/bfs】、【Dijkstra】 二分查找看完再来 阅读全文
posted @ 2021-08-17 21:40 alau 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 【题目】 其实就是矩阵里,除了与最外层边O相连的O不被翻牌成X外,其他O全部翻牌成X Given an m x n matrix board containing 'X' and 'O', capture all regions that are 4-directionally surrounded 阅读全文
posted @ 2021-08-17 21:09 alau 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 【题目】 岛屿矩阵,0表示海洋,数字表示岛屿面积,只有上下左右代表岛屿相连,对角线不算。 求问海洋里最大的岛屿面积 You are given an m x n binary matrix grid. An island is a group of 1's (representing land) c 阅读全文
posted @ 2021-08-17 19:56 alau 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 【题目】 若干个数字间,使用加法或减法连接,最终得到目标和target,求所有满足条件解的个数 You are given an integer array nums and an integer target. You want to build an expression out of nums 阅读全文
posted @ 2021-08-17 19:13 alau 阅读(37) 评论(0) 推荐(0) 编辑
2021年8月16日
摘要: 【题目】 将格式为 数[数[字母字母]数[字母]] 的字符串展开 Given an encoded string, return its decoded string. The encoding rule is: k[encoded_string], where the encoded_string 阅读全文
posted @ 2021-08-16 19:25 alau 阅读(38) 评论(0) 推荐(0) 编辑
2021年2月19日
摘要: 太久没刷题自闭了爬上来记录下 【题目】 将K个顺序排列的列表合并,输出合并后的列表 Example 1: Input: lists = [[1,4,5],[1,3,4],[2,6]] Output: [1,1,2,3,4,4,5,6] Explanation: The linked-lists ar 阅读全文
posted @ 2021-02-19 22:31 alau 阅读(83) 评论(0) 推荐(0) 编辑
2020年3月30日
摘要: 到头来还是觉得博客园界面清爽_(:з)∠)_ 问题 网页采用thymeleaf+layui,导入resource的static和templates中,运行主程序时无法找到相应css和js文件,返回404 页面预览正常,运行springboot时无法显示。 解决方案 基本上全网的解决措施都翻过一遍,试 阅读全文
posted @ 2020-03-30 11:54 alau 阅读(3231) 评论(0) 推荐(1) 编辑
2019年5月20日
摘要: 自学过程中看了无数教程,出了无数次BUG后整理出的自认最简洁的方法。 1 导入jar包 不知道是不是自己版本问题,网上那种直接implement的方法根本导入不了。索性直接引入mpandroidchartlibrary-2-2-4.jar并放在项目的libs文件夹下,右键选择add as libra 阅读全文
posted @ 2019-05-20 23:07 alau 阅读(841) 评论(0) 推荐(0) 编辑
2018年12月22日
摘要: 1、放dll文件:C:\Windows\SysWOW64 或C:\Windows\windows32 2、lib和h:C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\ lib放在lib文件夹下。 阅读全文
posted @ 2018-12-22 09:36 alau 阅读(228) 评论(0) 推荐(0) 编辑