摘要: 简单题 线段树可做 2.动态规划可做 import java.util.Arrays; import java.util.Comparator; class Solution { int n; int[][] lcs; public static void main(String[] args) { 阅读全文
posted @ 2024-05-04 15:02 fishcanfly 阅读(21) 评论(0) 推荐(0)
摘要: import java.util.*; class Solution { public static void main(String[] args) { Solution solution = new Solution(); String str = solution.alienOrder(new 阅读全文
posted @ 2024-05-04 09:20 fishcanfly 阅读(13) 评论(0) 推荐(0)
//雪花飘落效果