码迷,mamicode.com
首页 >  
搜索关键字:note    ( 7358个结果
Anagrams -- leetcode
Given an array of strings, return all groups of strings that are anagrams. Note: All inputs will be in lower-case. 算法思路: 将单词进行排序。 用map统计排序后相等的出现次数。 将次数大于1的单词放入结果集。 第1次出现时,因次数最终是否大于1不明郎,将其暂存入...
分类:其他好文   时间:2015-01-31 16:29:04    阅读次数:153
[LeetCode]Binary Tree Postorder Traversal
Q:Given a binary tree, return the postorder traversal of its nodes' values. Note:Recursive solution is trivial, could you do it iteratively? 题目的意思就是不用递归求二叉树的后序遍历。 后续遍历的递归方式很简单,首先遍历左子树,然后遍历右子树,最...
分类:其他好文   时间:2015-01-31 14:49:58    阅读次数:156
[LeetCode] Single Number II 单独的数字之二
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:其他好文   时间:2015-01-31 14:21:18    阅读次数:324
Xprog 5.5.1 fix xprog-m 5.0 software error and authorization error
Important Note: I am not stating or encouraging you operate by following the next steps to update from Xprog 5.0 to Xprog 5.5.1 if you do not have kno...
分类:其他好文   时间:2015-01-31 11:52:19    阅读次数:255
sublime 相关
Sublime Text 3 破解版 + 注册机 + 汉化包 + 教程http://www.xiumu.org/note/sublime-text-3.shtml1、sublime 如果控制选项不见了 alt - view- show console2、如何将js 格式化在Sublime Text....
分类:其他好文   时间:2015-01-31 10:40:47    阅读次数:194
leetcode 【 Minimum Path Sum 】python 实现
题目:Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its path.Note...
分类:编程语言   时间:2015-01-31 01:44:45    阅读次数:205
从手机丢失看数据安全
手机在现代生活中扮演重要角色,里面有大量的隐私和数据,手机银行,支付宝等都能操作个人的财产,所以手机的安全也越来越重要,一旦手机丢失,造成的不仅仅是一部手机的损失,还可能造成隐私的泄露,重要数据的丢失以及财产的损失。 手机丢失后应该做的事情 2015年1月28日下班,晚上七点左右在挤公交车,可能上车时,手机(红米Note)被偷,由于平日里都是骑自行车上下班,只是偶尔遇到不好的天气才会坐...
分类:移动开发   时间:2015-01-31 00:31:13    阅读次数:204
C#基础---扩展方法的应用
最近对扩展方法比较感兴趣,就看了看资料,记录一下扩展方法的几种方法. 一.扩展方法的基本使用: Note: 1.扩展方法必须在静态类中, 2扩展方法必须声明静态方法,3扩展方法里面不能调用其他自定义方法。public static int TryToInt(this string i...
分类:Windows程序   时间:2015-01-31 00:25:25    阅读次数:206
94.Binary Tree Inorder Traversal(非递归中序遍历)
Given a binary tree, return the inorder traversal of itsnodes' values. For example: Given binary tree {1,#,2,3},    1         2     /    3 return [1,3,2]. Note: Recursive solution istri...
分类:其他好文   时间:2015-01-30 22:53:42    阅读次数:203
144.Binary Tree Preorder Traversal(非递归前序遍历)
Given a binary tree, return the preorder traversal of itsnodes' values. For example: Given binary tree {1,#,2,3},    1         2     /    3 return [1,2,3]. Note: Recursive solution istr...
分类:其他好文   时间:2015-01-30 22:53:36    阅读次数:234
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!