上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 22 下一页
摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文
posted @ 2018-01-10 16:52 式微胡不归 阅读(177) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/u012841209/article/details/71077598 阅读全文
posted @ 2017-12-28 09:27 式微胡不归 阅读(115) 评论(0) 推荐(0) 编辑
摘要: #include #define MaxSize 50 typedef struct{ char data[MaxSize]; int top; }SqStack; void InitStack(SqStack &S){ S.top = -1; } int StackEmpty(SqStack &S){ if(S.top == -1) ... 阅读全文
posted @ 2017-08-05 21:50 式微胡不归 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 近日在复习数据结构,看到栈的时候,发现1个元素进栈,有1种出栈顺序;2个元素进栈,有2种出栈顺序;3个元素进栈,有5种出栈顺序,那么一个很自然地问题就是n个元素进栈,共有多少种出栈顺序? 说来惭愧,以前学数据结构的时候竟然没有考虑过这个问题。最近在看动态规划,所以“子问题”这3个字一直在我脑中徘徊, 阅读全文
posted @ 2017-08-03 19:09 式微胡不归 阅读(1807) 评论(1) 推荐(1) 编辑
摘要: 1. 用c语言写20万条数据 2. mysql语句 load data infile "C:/ProgramData/MySQL/MySQL Server 5.7/Uploads/data.txt" into table products fields terminated by ',' enclo 阅读全文
posted @ 2017-05-09 15:27 式微胡不归 阅读(2345) 评论(1) 推荐(1) 编辑
摘要: 方法实现接口 接口实现类 xml文件配置 通知切面 @Pointcut("execution(** ArithmeticCalculator.*(..))") public void declareJointPointExpression(){ } //声明该方法是一个前置通知:在目标方法开始之前执 阅读全文
posted @ 2016-10-08 18:10 式微胡不归 阅读(716) 评论(1) 推荐(0) 编辑
摘要: 1.静态代理 UserDao(接口) UserDaoImpl(实现类) LogProxy(代理类) main方法 2.动态代理 阅读全文
posted @ 2016-09-29 21:57 式微胡不归 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 1.多对一 客户和订单之间的关系(一个可与有多个订单) 使用 <many-to-one> 标签,进行关联。 阅读全文
posted @ 2016-09-28 20:30 式微胡不归 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 有Product , Book ,Clothes三张表 Product:id,name Book: id ,name,pageCount Clothes: id ,name ,size 创建三张表 Product.hlm.xml <mapping resource="com/amaker/exten 阅读全文
posted @ 2016-09-24 16:19 式微胡不归 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 导入 具体使用: ’ 阅读全文
posted @ 2016-08-19 17:16 式微胡不归 阅读(191) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 22 下一页