# leetcode **Repository Path**: yonxao/leetcode ## Basic Information - **Project Name**: leetcode - **Description**: leetcode / arithmetic , 力扣题和自己遇到的一些算法, 都有比较详细的解题思路。 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-05-22 - **Last Updated**: 2022-11-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # leetcode & arithmetic 算法学习,力扣题和自己遇到的一些算法, 都有比较详细的解题思路。 每个类里, 方法名叫 first及其开头 的都是每个题自己第一次做时的解法。 ## IDEA 力扣插件的配置 ### 勾选自定义代码模板, 修改 CodeFileName 的值为 ```java [$!velocityTool.leftPadZeros($!{question.frontendQuestionId},4)]${question.title} ``` ### 模板代码 ```java ${question.content} /** * [$!velocityTool.leftPadZeros($!{question.frontendQuestionId},4)]${question.title}(${question.titleSlug}) *
* 算法: TODO
*
* 时间复杂度: O(TODO)
*
* 空间复杂度: O(TODO)
*
* 知识点:
*
* 1. TODO
*
* @author yonxao
* @since $!velocityTool.date()
*/
class $!velocityTool.camelCaseName(${question.titleSlug}) {
@SuppressWarnings("all")
${question.code}
@SuppressWarnings("all")
public static void main(String[] args) {
}
/**
* 算法: TODO
*
* 时间复杂度: O(TODO)
*
* 空间复杂度: O(TODO)
*
* 知识点:
*
* 1. TODO
*/
public static void first() {
}
}
```
## 算法复杂度
### 算法复杂度的对比

### 常见算法的复杂度
