摘要: 思路很简单: import java.util.ArrayList; import java.util.List; class TreeAncestor { List<Integer>[] children; List<List<Integer>> paths = new ArrayList<>() 阅读全文
posted @ 2024-04-06 18:47 fishcanfly 阅读(18) 评论(0) 推荐(0)
摘要: 解法: trie树 import java.util.*; class Solution { int m, n; char[][] board; String[] querys; public static void main(String[] args) { Solution solution = 阅读全文
posted @ 2024-04-06 15:31 fishcanfly 阅读(20) 评论(0) 推荐(0)
//雪花飘落效果