Open watchpoints opened 3 years ago
第一题:最小唯一前缀
思路 1 定义前缀tree的结构 2 插入操作:数据 3 遍历操作,如果遇到重复的,就是最小前缀。
输出: https://mp.weixin.qq.com/s/zWPHLcOfijMmg3W92qRPhg 扩展 212. 单词搜索 II
第二题:螺旋矩阵
思路;巧妙方法我不会,我只会最笨方法。
扩展:59. 螺旋矩阵 II
第三题:
第一题:最小唯一前缀
思路 1 定义前缀tree的结构 2 插入操作:数据 3 遍历操作,如果遇到重复的,就是最小前缀。
输出: https://mp.weixin.qq.com/s/zWPHLcOfijMmg3W92qRPhg 扩展 212. 单词搜索 II