欢迎找我内推微软
上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
摘要: 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) 编辑
摘要: Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [-2,1,-3,4,-1,2, 阅读全文
posted @ 2017-11-01 17:14 zmj97 阅读(99) 评论(0) 推荐(0) 编辑
摘要: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example: Example: 阅读全文
posted @ 2017-10-11 16:53 zmj97 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 今天桌面突然出现 removable storage devices 文件夹,且没有删除选项。 解决办法:往电脑里插一下u盘文件夹就会自动消失了。 阅读全文
posted @ 2017-09-23 16:26 zmj97 阅读(3639) 评论(0) 推荐(0) 编辑
摘要: Given an array with n integers, your task is to check if it could become non-decreasing by modifying at most 1 element. We define an array is non-decr 阅读全文
posted @ 2017-09-19 22:28 zmj97 阅读(221) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
欢迎找我内推微软