摘要: J.U.C 其他组件 FutureTask   介绍 Callable 时我们知道它可以有返回值, 返回值通过Future进行封装 。FutrueTask实现了RunnableFuture接口,该接口继承了Runnable和Future接口,这使得 FutureTask既可以当做 阅读全文
posted @ 2019-04-18 11:24 yjxyy 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. 阅读全文
posted @ 2019-04-18 10:16 yjxyy 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 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. 阅读全文
posted @ 2019-04-18 10:13 yjxyy 阅读(129) 评论(0) 推荐(0) 编辑
摘要: Given a string, find the length of the **longest substring** without repeating characters. 阅读全文
posted @ 2019-04-18 10:07 yjxyy 阅读(127) 评论(0) 推荐(0) 编辑