摘要: 在SOA的基础技术实现方式中WebService占据了很重要的地位,通常我们提到WebService第一想 法就是SOAP消息在各种传输协议上交互。近几年REST的思想伴随着SOA逐渐被大家接受,同时 各大网站不断开放API提供给开发者,也激起了REST风格WebService的热潮。SOAP什么是... 阅读全文
posted @ 2015-04-12 02:14 WinsCoder 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 如今,Web开发者的可选技术相当之多;从简化的数据库访问技术,到易用的中间件服务包装技术,以及各种有趣的客户端软件等等,一应俱全。所有这些产品和工具,都是为了帮助Web开发者用最快的速度开发出最好的Web应用。然而,拥有大量可选软件方案以及为Web应用的特定部分选用特定方案,都是具有挑战的事;而... 阅读全文
posted @ 2015-04-12 02:03 WinsCoder 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol... 阅读全文
posted @ 2015-03-19 14:30 WinsCoder 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Counting Sort1. Counting Sort doesn't work for negative number.2. Counting Sort assumes that each element is SMALL INTEGER.3. Time Complexity is O(Max... 阅读全文
posted @ 2015-02-23 16:18 WinsCoder 阅读(158) 评论(0) 推荐(0) 编辑
摘要: RAID(originallyredundant array of inexpensive disks; now commonlyredundant array of independent disks) is a datastorage virtualizationtechnology that ... 阅读全文
posted @ 2015-02-13 07:24 WinsCoder 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 这篇文章的主题是动态规划, 主要介绍LeetCode中一维动态规划的题目, 列表如下:Climbing StairsDecode WaysUnique Binary Search TreesMaximum SubarrayMaximum Product SubarrayBest Time to Bu... 阅读全文
posted @ 2015-01-30 02:27 WinsCoder 阅读(1162) 评论(0) 推荐(2) 编辑
摘要: The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is read off as"tw... 阅读全文
posted @ 2015-01-30 02:23 WinsCoder 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Optimal substructureIncomputer science, a problem is said to haveoptimal substructureif an optimal solution can be constructed efficiently from optima... 阅读全文
posted @ 2014-12-05 05:49 WinsCoder 阅读(185) 评论(0) 推荐(0) 编辑
摘要: MongoDB和Redis都是NoSQL,采用结构型数据存储。二者在使用场景中,存在一定的区别,这也主要由于二者在内存映射的处理过程,持久化的处理方法不同。MongoDB建议集群部署,更多的考虑到集群方案,Redis更偏重于进程顺序写入,虽然支持集群,也仅限于主-从模式。指标MongoDB(v2.... 阅读全文
posted @ 2014-12-03 09:23 WinsCoder 阅读(505) 评论(0) 推荐(0) 编辑
摘要: 我相信有不少人还不明白有状态和无状态(Stateful and Stateless)的概念,那么我们今天就来谈谈有状态和无状态,一方面不断总结提高自我,另一方面兼扫盲。这是Immutable不变模式的姐妹篇,大家可以参照着读。Immutable不变模式的分析blog:http://www.iteye... 阅读全文
posted @ 2014-08-12 02:19 WinsCoder 阅读(226) 评论(0) 推荐(0) 编辑