在deepin上使用Fleet开发SpringBoot 3.0.0项目

前言Fleet被称为是由 JetBrains 打造的下一代 IDE,目前出于公测状态,可以免费下载使用。SpringBoot 3.0.0最小支持是JDK 17,这或许是对于JDK8的断舍离迈出的重大一步。出于对新工具和新技术的好奇,我开始尝试在deepin上用Fleet开发一个SpringBoot 3.0.0项目,继续我的SpringBoot学习。安装Fleet在Fleet下载界面中点击“下载T...

LeetCode //C - 207. Course Schedule

rerequisites[i].length == 20 <= ai, bi < numCoursesAll the pairs prerequisites[i] are unique. From: LeetCode Link: 207. Course Schedule Solution: Ideas: 1. Graph Representation: Each course is represented...

LeetCode【2251. 花期内花的数目】

给你一个下标从 0 开始的二维整数数组 flowers ,其中 flowers[i] = [starti, endi] 表示第 i 朵花的 花期 从 starti 到 endi (都 包含)。同时给你一个下标从 0 开始大小为 n 的整数数组 people ,people[i] 是第 i 个人来看花的时间。 请你返回一个大小为 n 的整数数组 answer ,其中 answer[i]是第 i 个人到达时...

LeetCode【69. x 的平方根】

给你一个非负整数 x ,计算并返回 x 的 算术平方根 。 由于返回类型是整数,结果只保留 整数部分 ,小数部分将被 舍去 。 注意:不允许使用任何内置指数函数和算符,例如 pow(x, 0.5) 或者 x ** 0.5 。 示例 1: 输入:x = 4输出:2 示例 2: 输入:x = 8输出:2解释:8 的算术平方根是 2.82842..., 由于返回类型是整数,小数部分将被舍去。 提示: 0...

九日集训 Leetcode 371.两整数之和

给你两个整数 a 和 b ,不使用 运算符 + 和 - ,计算并返回两整数之和。 示例 1: 输入:a = 1, b = 2输出:3 示例 2: 输入:a = 2, b = 3输出:5 提示: -1000 <= a, b <= 1000 一、信息 1.给我两个整数 2.不使用+和-号 3.计算两整数之和 二、步骤 第一步 申请两个整型变量 第二步 输入两个整数并赋值给这两个整型变量 第三步 retu...

Leetcode 1425: DP + 单调队列

Constrained Subsequence Sum Hard Given an integer array nums and an integer k, return the maximum sum of a non-empty subsequence of that array such that for every two consecutive integers in the subseque...

LeetCode【2582. 递枕头】

  n 个人站成一排,按从 1 到 n 编号。 最初,排在队首的第一个人拿着一个枕头。每秒钟,拿着枕头的人会将枕头传递给队伍中的下一个人。一旦枕头到达队首或队尾,传递方向就会改变,队伍会继续沿相反方向传递枕头。 例如,当枕头到达第 n 个人时,TA 会将枕头传递给第 n - 1 个人,然后传递给第 n - 2 个人,依此类推。 给你两个正整数 n 和 time ,返回 time 秒后拿着枕头的人的编号。...

LeetCode //C - 127. Word Ladder

onsist of lowercase English letters.beginWord != endWordAll the words in wordList are unique. From: LeetCode Link: 127. Word Ladder Solution: Ideas: Start with beginWord “hit” and level 1. Queue = [“hit”]...

LeetCode //C - 211. Design Add and Search Words Data Structure

s in word for search queries.At most 1 0 4 10^4 104 calls will be made to addWord and search. From: LeetCode Link: 211. Design Add and Search Words Data Structure Solution: Ideas: 1. TrieNode Structure: E...

LeetCode //C - 433. Minimum Genetic Mutation

ngth == 8startGene, endGene, and bank[i] consist of only the characters [‘A’, ‘C’, ‘G’, ‘T’]. From: LeetCode Link: 433. Minimum Genetic Mutation Solution: Ideas: 1. Initialization visited is an array used...
© 2024 LMLPHP 关于我们 联系我们 友情链接 耗时0.004165(s)
2024-04-20 05:58:02 1713563882