摘要: 题目: 一个机器人位于 m x n 网格的右上角. 机器人只能向右或者向下. 机器人试图到达右下角. 问有多少种不重复的路径? 上图是一个 3 x 7 的网格. m 和 n 最大为 100. 链接: https://leetcode.com/problems/unique paths/ 方法一: 自 阅读全文
posted @ 2016-01-27 04:28 CloudFlew 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 题目: Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the... 阅读全文
posted @ 2016-01-24 19:19 CloudFlew 阅读(1516) 评论(0) 推荐(1) 编辑
摘要: 本文有选择地翻译了 Spring framework 官方文档第21章 SpringMVC.参见 "21. Web MVC framework" 0. 引论待续... 1. 通过 @Controller 注解一个控制器@Controller: 注解一个类,表明其作为控制器.Spring 并不会强制... 阅读全文
posted @ 2016-01-21 22:53 CloudFlew 阅读(745) 评论(0) 推荐(0) 编辑