店面一个小时,面试官出一道题,感觉有点像变种题
Input: [rockstar, rock, star, rocks, tar, star, rockstars, super, highway, high, way, superhighway]
Return all combinations of the given dictionary word.
dictionary=“rockstar”
Input: [rock, ro, ck, rockstar, star, rocks, tar, star, rockstars]
Output : [[rock, star], [rocks,tar]]
敲代码的时候心里慌的厉害,没答好