自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (5)
  • 收藏
  • 关注

原创 LeetCode 240: Search a 2D Matrix II

Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted in ascending from left to right.Integers in

2015-07-30 19:07:55 1690

原创 LeetCode 14: Longest Common Prefix

Longest Common PrefixWrite a function to find the longest common prefix string amongst an array of strings.求最长公共前缀。代码如下:class Solution {public: string longestCommonPrefix(vect

2015-07-30 19:04:07 1802

原创 LeetCode 238: Product of Array Except Self

Given an array of n integers where n > 1, nums, return an arrayoutput such that output[i] is equal to the product of all the elements ofnums except nums[i].Solve it without division and in O(n).

2015-07-27 18:51:41 4091 3

原创 LeetCode 235: Lowest Common Ancestor of a Binary Search Tree

Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST.According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined betwee

2015-07-27 18:41:00 2640

原创 LeetCode 237 : Delete Node in a Linked List

Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are given the third node with value

2015-07-27 13:54:09 6781 2

原创 LeetCode 234: Palindrome Linked List (回文链表)

Given a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space?判断一个单向链表是否是回文链表,要求O(n)的时间复杂度和O(1)的空间复杂度。算法有以下几种:1、遍历整个链表,将链表每个节点的值记录在数组中,再判断数组是不是一个回文数

2015-07-16 22:48:30 15836 3

原创 LeetCode 232: Implement Queue using Stacks

Implement the following operations of a queue using stacks.push(x) -- Push element x to the back of queue.pop() -- Removes the element from in front of queue.peek() -- Get the front element.empty(

2015-07-07 19:35:06 5112

原创 LeetCode 231: Power of Two

Given an integer, write a function to determine if it is a power of two.判断一个数是否是2的幂,判断方法主要依据2的N次幂的特点:仅有首位为1,其余各位都为0.方法1: n & n-1 == 0class Solution {public: bool isPowerOfTwo(int n) {

2015-07-06 18:34:20 4352 2

原创 LeetCode 230: Kth Smallest Element in a BST

Given a binary search tree, write a function kthSmallest to find thekth smallest element in it.Note: You may assume k is always valid, 1 ≤ k ≤ BST's total elements.Follow up:What if the BST

2015-07-02 14:27:17 6817 3

Monaco字体

Mac系统字体,等宽字体,最佳的编程字体

2016-01-06

The SELinux Notebook 4th Edition

SELinux Notebook对SELinux技术做了详细的介绍,对Linux系统开发,Android安全开发具有很大的帮助。

2015-05-23

效能桌面便签V1.66

即 时贴扔掉了传统的纸张和开始使用完全免费的高效粘滞便笺! “棒”笔记在桌面上,你可以阅读屏幕上的任何重要信息的时间。 可以节省你的钱,可以节省你的时间! 该软件允许不同的背景颜色,可选的渐变效果,必须为便条集。 您还可以自定义每个注意字体,将其设置为半透明因此它不能完全覆盖你的桌面背景或图标。 为了充分保护您的隐私,软件加密与不可逆转SHA算法登录密码,同时也加密数据文件。 此外,它提供了诸如如何管理组便签各种特殊功能,设置注意的重要性,跟踪创建时间和最后修改时间说明,增加附件说明,回收站,所以...不伤害等,使现在 试试。 你会爱她!

2010-10-18

Astyle 1.2.4 Windows

著名的代码自动缩进软件ASTYLE的源码,为1.24版本,支持C/C++/JAVA的各种格式的排版,支持自定的样式,功能强大.

2010-10-18

FsCapture 6.7 for Windows

 FSCapture是一款抓屏工具,附带的其他两个小功能:取色器和屏幕放大镜。对抓取的图像提供缩放、旋转、减切、颜色调整等功能。只要点点鼠标就能随心抓取屏幕上的任何东西,拖放支持可以直接从系统、浏览器或其他程序中导入图片。   取色器   现在网上各式各样的取色器应该不少了,包括之前一直用的蓝色经典推荐的ColorSPY, Firefox下还有一个专门的取色器扩展ColorZilla,这些都是很好的软件。但自从使用了FS Capture之后,这些我都很少用到了。原因很简单,各种取色软件的功能都大同小异,FS Capture非常小巧,既然有这样一个小软件能够包含取色器、屏幕放大镜和截屏的功能,为什么还要为这些功能而分开多个软件呢。FastStone Capture的取色支持RGB、Dec和Hex三种格式的色值,而且还有一个混色器,取到颜色之后可以再编辑。   屏幕放大镜   这确实是一个不错的功能,特别是现在我们已经习惯用DIV来对页面定位,DIV之间的对齐不像表 格那样容易控制,有时为了调整几个象素的偏差,不得不对着屏幕盯很久。有这样一个放大镜就方便多了。使用时只需点击一下FS Capture窗口上的放大镜图标,鼠标变成一个放大镜的样子,然后在需要放大的地方按下左键就可以了,就像手里真的拿着一个放大镜一样。可以设置放大倍 律,放大镜的尺寸,外观(圆形,矩形以及圆角矩形)以及是否平滑显示,按ESC键或单击右键可退出放大镜。   截屏   包括了全屏截取,当前活动窗口截取,截取选定区域,多边形截取和截取滚动页面等,基本上常用的都有了。特别是滚动截取,许多朋友为了这个功能不惜安装各种重量级的截屏软件,甚至四处下载各种软件的破解器——忘了说了,FS Capturte是一款免费软件!   图像浏览/编辑   FS Capture还包括快速浏览/编辑图像的功能,可以点击主窗口的“打开”图标快速打开一幅图片,进行简单的缩放、裁切、旋转、加文字等轻量级的操作。把网页中图片拖到FS Capture的窗口上,会快速打开图像浏览窗口。

2010-10-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除