摘要: 前置条件 Spring Boot(3.1.10) 默认使用了内置的 Tomcat(10.1.19) application.yml配置 server: port: 8080 tomcat: accesslog: enabled: true pattern: "%{yyyy-MM-dd HH:mm:s 阅读全文
posted @ 2024-04-24 16:32 shea24 阅读(13) 评论(0) 推荐(0) 编辑
摘要: # Content Given an integer array nums, return true if you can partition the array into two subsets such that the sum of the elements in both subsets i 阅读全文
posted @ 2023-09-01 11:30 shea24 阅读(2) 评论(0) 推荐(0) 编辑
摘要: # Content You are given an integer array nums and an integer target. You want to build an expression out of nums by adding one of the symbols '+' and 阅读全文
posted @ 2023-09-01 11:30 shea24 阅读(3) 评论(0) 推荐(0) 编辑
摘要: # Content Given an integer n, return an array ans of length n + 1 such that for each i (0 <= i <= n), ans[i] is the number of 1's in the binary repres 阅读全文
posted @ 2023-08-31 08:46 shea24 阅读(1) 评论(0) 推荐(0) 编辑
摘要: # Content The thief has found himself a new place for his thievery again. There is only one entrance to this area, called root. Besides the root, each 阅读全文
posted @ 2023-08-30 16:33 shea24 阅读(1) 评论(0) 推荐(0) 编辑
摘要: # Content You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of mone 阅读全文
posted @ 2023-08-30 15:32 shea24 阅读(1) 评论(0) 推荐(0) 编辑
摘要: # Content You are given n balloons, indexed from 0 to n - 1. Each balloon is painted with a number on it represented by an array nums. You are asked t 阅读全文
posted @ 2023-08-30 14:54 shea24 阅读(4) 评论(0) 推荐(0) 编辑
摘要: # Content You are given an array prices where prices[i] is the price of a given stock on the ith day. Find the maximum profit you can achieve. You may 阅读全文
posted @ 2023-08-29 09:18 shea24 阅读(3) 评论(0) 推荐(0) 编辑
摘要: # Content Given an integer array nums, return the length of the longest strictly increasing subsequence. Example 1: Input: nums = [10,9,2,5,3,7,101,18 阅读全文
posted @ 2023-08-28 11:01 shea24 阅读(2) 评论(0) 推荐(0) 编辑
摘要: # Content Given an integer n, return the least number of perfect square numbers that sum to n. A perfect square is an integer that is the square of an 阅读全文
posted @ 2023-08-25 14:55 shea24 阅读(3) 评论(0) 推荐(0) 编辑