码迷,mamicode.com
首页 >  
搜索关键字:you have two operati    ( 41000个结果
Depth-first Search(DFS)
There are generally two methods to write DFS algorithm, one is using recursion, another one is using stack. (reference from Wiki Pedia)Pseudocode for ...
分类:其他好文   时间:2014-06-13 08:39:34    阅读次数:218
GATK errors 及解决办法 (持续更新)
1,MESSAGE: Input files reads and reference have incompatible contigs: Relative ordering of overlapping contigs differs, which is unsafe.##### ERROR re...
分类:其他好文   时间:2014-06-13 07:46:21    阅读次数:1050
Firebug 2.0 正式发布,网页开发插件
Firebug 2.0 is compatible with Firefox 30 – 32Firebug 2 UI:The screenshot shows Win OS theme other OSes (Linux and Mac) have own custom theme.New Feat...
分类:Web程序   时间:2014-06-13 06:46:35    阅读次数:334
[leetcode]Multiply Strings @ Python
原题地址:https://oj.leetcode.com/problems/multiply-strings/题意:Given two numbers represented as strings, return multiplication of the numbers as a string.N...
分类:编程语言   时间:2014-06-12 21:43:03    阅读次数:344
[Leetcode] Best Time to Buy and Sell Stock III
Question:Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may c...
分类:其他好文   时间:2014-06-12 19:55:05    阅读次数:292
hdu 1075:What Are You Talking About(字典树,经典题)
What Are You Talking AboutTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 102400/204800 K (Java/Others)Total Submission(s): 12617Accepted Submiss...
分类:其他好文   时间:2014-06-12 18:15:48    阅读次数:218
LeetCode——Remove Element
Given an array and a value, remove all instances of that value in place and return the new length. The order of elements can be changed. It doesn't matter what you leave beyond the new length. 中...
分类:其他好文   时间:2014-06-10 18:41:04    阅读次数:191
Merge Two Sorted Lists
题目 Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 方法 有序链表,合并成一个有序链表。 public ListNod...
分类:其他好文   时间:2014-06-10 18:13:11    阅读次数:241
Add Binary
题目 Given two binary strings, return their sum (also a binary string). For example, a = "11" b = "1" Return "100". 方法 从后往前,每个字符进行判断。 public String addBinary(String a, String...
分类:其他好文   时间:2014-06-10 17:50:48    阅读次数:241
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!