摘要:        
class Solution { public String longestDupSubstring(String S) { int n = S.length(); int[] nums = new int[n]; // 字符串转为数组 for (int i = 0; i < n; i++) { n    阅读全文
posted @ 2020-10-08 11:09
消灭猕猴桃
阅读(215)
评论(0)
推荐(0)
        
            
        
        
摘要:        
二分查找 class Solution { public int superEggDrop(int K, int N) { return dp(K, N); } Map<Integer, Integer> memo = new HashMap<>(); private int dp(int K, i    阅读全文
posted @ 2020-10-08 09:31
消灭猕猴桃
阅读(78)
评论(0)
推荐(0)
        

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号