- 博客(9)
- 资源 (8)
- 问答 (1)
- 收藏
- 关注
原创 leetcode 29. Divide Two Integers
@author stormma @date 2017/10/27 10:02– 生命不息,奋斗不止! 题目Divide two integers without using multiplication, division and mod operator.If it is overflow, return MAX_INT.思路分析方案1被除数-除数,ans++,但是这样如果被除数和除
2017-10-27 10:14:57 308
原创 leetcode 198. House Robber
生命不息,奋斗不止! @author stormma @date 2017/10/21题目 You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping y
2017-10-23 20:35:46 250
原创 leetcode 96. Unique Binary Search Trees
生命不息,奋斗不止! @author stormma @date 2017/10/21题目Given n, how many structurally unique BST’s (binary search trees) that store values 1…n?For example Given n = 3, there are a total of 5 unique BST
2017-10-23 20:31:31 226
原创 leetcode 72.
生命不息,奋斗不止! @author stormma @date 2017/10/21题目 Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You h
2017-10-23 20:15:06 253
原创 POJ2431
生命不息,奋斗不止! @author stormma @date 2017/10/20题意:一辆卡车距离城镇L单位长度,初始有P油,每行驶一个单位长度消耗一单位油。有n个加油站可以加油,给出n个加油站与城镇的距离Ai,和在加油站可以加的有的量Bi,问最少加油几次才能行驶L长度,如果不能输出-1。 我们稍微变换一下思路:每次经过加油站,都把油装到瓶子里面带走,Bi加入优先队列,到需
2017-10-20 21:02:45 372
原创 leetcode 669. Trim a Binary Search Tree
生命不息,奋斗不止!– @author stormma @date 2017/10/20题目 Given a binary search tree and the lowest and highest boundaries as L and R, trim the tree so that all its elements lies in [L, R] (R >= L). You m
2017-10-20 10:35:10 267
原创 leetcode 75. Sort Colors
生命不息,奋斗不止 @author stormma @date 2017/10/19题目 Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red,
2017-10-20 08:48:10 208
原创 常用排序方式总结
@author StormMa @date 2017-10/19 生命不息,奋斗不止! 常用的排序算法分析与实现,全部代码库地址sort,以及algorithms4前言排序算法是算法的入门知识,其经典思想可以用于很多算法当中。因为其实现代码较短,应用较常见。所以在面试中经常会问到排序算法及其相关的问题。但万变不离其宗,只要熟悉了思想,灵活运用也不是难事。一般在面试中最常考的是快速排序和归
2017-10-19 13:28:41 426
翻译 Spring Boot Docker化官方文档
@author StormMa @date 2017-10-12 生命不息,奋斗不止!Spring Boot应用Docker化 原文:Spring Boot with Docker 译者:stormma本教程将引导你通过建立一个Docker镜像来运行Spring Boot应用。你将构建什么Docker是一个管理工具包的Linux容器,用户可以发布镜像以及使用其他开发者发布的镜像
2017-10-12 11:49:59 604
XML案例之学生管理
2016-10-06
怎么才能入门android和深入学习android
2016-05-15
TA创建的收藏夹 TA关注的收藏夹
TA关注的人