摘要:
搜索插入位置 Search Insert Position A sorted array of distinct integers and a target value, return the index of the array if the target is found. If not, re 阅读全文
摘要:
打开转盘锁 Open the Lock 有一个带4个圆形转轮的转盘锁,每个转轮有10个数字 0-9,转轮可以自由转。每次旋转只能转一个转轮的一个数字。 初始数字为0000,一个代表4个转轮数字的字符串。 列表deadends标识了一组死亡数字,一旦转轮转到了这个列表中的任何数字,锁就无法再次转动,被 阅读全文