摘要:
在旋转有序数组中找出给定的一个整数,并返回该整数在数组中的下标? 解题思路: 1. 假设最左边下标用left标识,最右边下标有right标识,中间整数下标用mid标识; 2. 每次判断下标mid对应的整数值是否大于下标left对应整数值,如果大于,说明左边有序,如果小于,说明右边有序; 3. 在上一 阅读全文
摘要:
创建SpringApplication对象 SpringBoot版本为 2.1.1.RELEASE @SpringBootApplication public class SpringbootDemoApplication { public static void main(String[] arg 阅读全文