摘要: public class WordLadder { //把start通过dict内的字符串转换成end需要多少步 一次只能转换一个char 方案:广度优先算法 public static void main(String[] args) { String start = "hit"; String 阅读全文
posted @ 2021-06-29 01:01 好好的一个居士 阅读(48) 评论(0) 推荐(0)