
算法
勤奋的小芳芳
这个作者很懒,什么都没留下…
展开
-
两个队列实现一个栈
用两个队列实现一个栈原创 2015-09-08 19:29:32 · 596 阅读 · 0 评论 -
win7快捷图标显示异常的解决方法
windows7快捷方式图标显示异常的解决--------------- win7容易出现快捷方式图标无故丢失,或者出现非图片的异常状况,但仍能启动程序,在快捷方式属性里更改图标也没用,有些程序重装可以修正过来,但有些重装也无济于事!解决办法:方法一、在个性化-显示里,设置文本大小为125%(换一个),按要求注销,然后再设回来(100%),再注销,登入,好了!转载 2014-08-15 09:15:03 · 4570 阅读 · 0 评论 -
【LeetCode】162. Find Peak Element
最近去某公司面试,笔试题中有这个题目,整理,记录问题描述A peak element is an element that is greater than its neighbors.Given an input array where num[i] ≠ num[i+1], find a peak element and return its index.The array may contain原创 2015-10-17 11:08:42 · 398 阅读 · 0 评论 -
【LeetCode】1. Two Sum
最近在学习LeetCode,写的有什么不合理的地方,欢迎留言指正。共同学习! Given an array of integers, return indices of the two numbers such that they add up to a specific target. 给定一个整数数组,数组中两个数字的和是某个特定的值,返回这两个数字的索引You may assume tha原创 2017-08-05 16:15:42 · 212 阅读 · 0 评论