随笔分类 - 【LeetCode-Java】
使用Java实现的LeetCode题解。
摘要:[3] Longest Substring Without Repeating Characters (2021-Jun-21) Given a string s, find the length of the longest substring without repeating characte
阅读全文
摘要:Hash Table: Two Pointers: https://www.cnblogs.com/zhangwanying/p/14913352.html Binary Search: Array: String: DP: DFS: BFS: Tree: Binary Search Tree: B
阅读全文
摘要:1. 如果返回值是 int[], 那么可以这么初始化: return new int[]{ele1, ele2,...}; 2. 如果需要返回Exception, we can use IllegalArgumentException.
阅读全文
浙公网安备 33010602011771号