摘要:
J.U.C 其他组件 FutureTask 介绍 Callable 时我们知道它可以有返回值, 返回值通过Future进行封装 。FutrueTask实现了RunnableFuture接口,该接口继承了Runnable和Future接口,这使得 FutureTask既可以当做 阅读全文
摘要:
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. 阅读全文
摘要:
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list. 阅读全文
摘要:
Given a string, find the length of the **longest substring** without repeating characters. 阅读全文