欢迎找我内推微软
摘要: Your are given an array of integers prices, for which the i-th element is the price of a given stock on day i; and a non-negative integer fee represen 阅读全文
posted @ 2017-11-24 23:25 zmj97 阅读(237) 评论(0) 推荐(0) 编辑
摘要: Given two integer arrays A and B, return the maximum length of an subarray that appears in both arrays. Example 1: Note: 从A串的结尾开始向前遍历,记当前pos为i。 对每一个i, 阅读全文
posted @ 2017-11-24 22:14 zmj97 阅读(401) 评论(0) 推荐(0) 编辑
摘要: Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. Example: Note: 不是很懂这道题的意义....然后java写多了和cpp的语法有点混 阅读全文
posted @ 2017-11-24 17:09 zmj97 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 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 yo 阅读全文
posted @ 2017-11-24 16:57 zmj97 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 安装时分完盘后提示:“分配到/的分区开始于3584字节,使用磁盘的最小对齐,这可能造成非常差的性能..." 解决办法: 回到windows使用分区助手等工具先分好盘而不是在安装时分盘(这样分完盘后陌生人的时4K对齐,即可解决问题) 这样的话在安装时直接点击分好的盘的修改选项即可。 安装成功后在启动项 阅读全文
posted @ 2017-11-24 16:27 zmj97 阅读(1789) 评论(0) 推荐(0) 编辑
摘要: Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction 阅读全文
posted @ 2017-11-24 16:02 zmj97 阅读(138) 评论(0) 推荐(0) 编辑
欢迎找我内推微软