
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 · 216 阅读 · 0 评论 -
左耳听风ARTS第十七周
Algorithms15. 3SumGiven 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 · 214 阅读 · 0 评论 -
左耳听风第十八周
Algorithms102. Binary Tree Level Order TraversalGiven 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 · 178 阅读 · 0 评论 -
左耳听风ARTS第十九周
Algorithms146. LRU CacheDesign 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 · 234 阅读 · 0 评论