![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ARTS
wuweiwoshishei
这个作者很懒,什么都没留下…
展开
-
设计模式之策略模式(六)
1、UML类图和时序图 2、实例说明 spring策略模式实例说明,通过@Resource注解集合或者数组实现。 public interface Strategy { void execute(); } @Component("ali") public class AliStrategy implements Strategy { @Override public v...原创 2019-04-15 19:32:21 · 179 阅读 · 0 评论 -
左耳听风ARTS第十七周
Algorithms 15. 3Sum Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: The soluti...原创 2019-04-03 10:25:02 · 177 阅读 · 0 评论 -
左耳听风第十八周
Algorithms 102. Binary Tree Level Order Traversal Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example: Given binary tree ...原创 2019-04-17 09:55:39 · 149 阅读 · 0 评论 -
左耳听风ARTS第十九周
Algorithms 146. LRU Cache Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put. get(key) - Get the value (will always be ...原创 2019-05-13 15:54:51 · 195 阅读 · 0 评论