2022年4月7日
摘要: Given a binary array nums and an integer k, return the maximum number of consecutive 1's in the array if you can flip at most k 0's. import java.util. 阅读全文
posted @ 2022-04-07 17:35 黎酒 阅读(26) 评论(0) 推荐(0)
摘要: class LengthOfLongestSubstring { public static int lengthOfLongestSubstring(String s) { int start = 0, end = 0, maxLength = 0; HashMap<Character, Inte 阅读全文
posted @ 2022-04-07 10:08 黎酒 阅读(16) 评论(0) 推荐(0)
  2022年4月6日
摘要: Spring web应用通过客服端发送HTTP请求,当HTTP 客服端发送请求和数据时,数据包含在 request body中。因此,spring程序需要使用@RequestBody读取数据,并转换为处理对象。 @RequestBody 一般与 @PostMapping 结合,RequestBody 阅读全文
posted @ 2022-04-06 15:12 黎酒 阅读(131) 评论(0) 推荐(0)