摘要:
git 1. git的用途 git是一个开源的分布式版本控制系统 为什么要做版本控制? 代码备份:本地有一份代码,为了防止遗失,需要将代码备份至服务器,这个备份操作就是由git完成的。 多人协作:当一个项目需要多人协作的时候,A修改的代码版本被称为版本a,B修改的代码版本被称为版本b,但最终两个版本 阅读全文
摘要:
自动装配原理 springboot中的自动装配是通过xxxAutoConfiguration自动装配类,进行配置类xxxProperties装载。 xxxAutoConfiguration自动装配类 xxxAutoConfiguration自动装配类,可以看下面HttpEncodingAut 阅读全文
摘要:
配置文件 SpringBoot使用一个全局的配置文件,配置文件名称是固定的 application.properties 语法结构:key=value application.yml 语法结构:key: value **配置文件的作用:**修改SpringBoot自动配置的默认值,因为SpringB 阅读全文
摘要:
Given a non-negative integer n, count all numbers with unique digits, x, where 0 ≤ x < 10n. Example: Input: 2 Output: 91 Explanation: The answer shoul 阅读全文
摘要:
Equations are given in the format A / B = k, where A and B are variables represented as strings, and k is a real number (floating point number). Given 阅读全文
摘要:
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put. get(key) - Get the 阅读全文
摘要:
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. For this problem, a height-balanced bina 阅读全文
摘要:
Design a simplified version of Twitter where users can post tweets, follow/unfollow another user and is able to see the 10 most recent tweets in the u 阅读全文
摘要:
Given a non-negative integer num represented as a string, remove k digits from the number so that the new number is the smallest possible. Note: The l 阅读全文
摘要:
A sequence of numbers is called a wiggle sequence if the differences between successive numbers strictly alternate between positive and negative. The 阅读全文