Skip to content

Latest commit

 

History

History
 
 

Insert_Interval

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
本题目需要注意的是:要么从左往右进行考虑, 要么从右往左考虑, 这里只能用if else 进行做, 因为if else是一个递增的条件判断, 就是已经默认 了一个对于上面所有的条件的非的and , 所以, 要么从左往右, 要么从右到左, 次序不能变, 而且最后要增加一个, 如果到了末尾还没有insert , 应该添加一个insert