码迷,mamicode.com
首页 >  
搜索关键字:招聘    ( 265个结果
CareerCup之1.3字符串去重
【题目】 原文: 1.3 Design an algorithm and write code to remove the duplicate characters in a string without using any additional buffer. NOTE: One or two additional variables are fine. An extra copy of...
分类:其他好文   时间:2014-05-07 08:48:12    阅读次数:372
用lead分析函数构造类似9*9乘法口诀的功能
今天又个兄弟求助,数据库里一个表有数据如下: no  name 1    a 2    b 3    c 4    d 如何用一个sql显示如下结果: ab ac ad bc bd cd 对于这种构造数据,是分析函数的强项,下面来做个试验: create table t (no number,name varchar(2)); insert into t va...
分类:其他好文   时间:2014-05-07 08:03:17    阅读次数:447
Giraph源码分析(八)—— 统计每个SuperStep中参与计算的顶点数目
目的:科研中,需要分析在每次迭代过程中参与计算的顶点数目,来进一步优化系统。比如,在SSSP的compute()方法最后一行,都会把当前顶点voteToHalt,即变为InActive状态。所以每次迭代完成后,所有顶点都是InActive状态。在大同步后,收到消息的顶点会被激活,变为Active状态,然后调用顶点的compute()方法。本文的目的就是统计每次迭代过程中,参与计算的顶点数目。下面附上SSSP的compute()方法:...
分类:其他好文   时间:2014-05-07 06:25:52    阅读次数:415
CareerCup之1.2C风格字符串翻转
原文: Write code to reverse a C-Style String. (C-String means that “abcd” is represented as five characters, including the null character.) 译文: 写代码翻转一个C风格的字符串。(C风格的意思是"abcd"需要用5个字符来表示,包含末尾的 结束字符)...
分类:其他好文   时间:2014-05-07 05:12:34    阅读次数:265
Cracking the coding interview
CareerCup 目录 Chapter 1 | Arrays and Strings 1.1  Implement an algorithm to determine if a string has all unique characters. What if you can not use additional data structures? 1.2 Write co...
分类:其他好文   时间:2014-05-07 04:25:44    阅读次数:320
LeetCode合集
一 线性表 1.1  数组 1.1.1 Remove Duplicates from Sorted Array 1.1.2 Remove Duplicates from Sorted Array II 1.1.3 Search in Rotated Sorted Array 1.1.4 Search in Rotated Sorted Array II 1.1.5 Median of...
分类:其他好文   时间:2014-05-07 04:24:26    阅读次数:363
ACM-博弈之Good Luck in CET-4 Everybody!——hdu1847
ACM 博弈 Good Luck in CET-4 Everybody! hdu1847 规律...
分类:其他好文   时间:2014-05-05 13:20:41    阅读次数:359
经典白话算法之快速排序
【分析】 【伪代码】 【运行过程】 【代码】 /********************************* * 日期:2014-04-01 * 作者:SJF0115 * 题目:快速排序 **********************************/ #include #include using namespace...
分类:其他好文   时间:2014-05-03 21:17:50    阅读次数:476
UVA之11462 - Age Sort
【题目】 B Age Sort Input: Standard Input Output: Standard Output   You are given the ages (in years) of all people of a country with at least 1 year of age. You kn...
分类:其他好文   时间:2014-05-03 16:51:42    阅读次数:427
UVA之11549 - Calculator Conundrum
【题目】 Problem C CALCULATOR CONUNDRUM Alice got a hold of an old calculator that can display n digits. She was bored enough to come up with the following time waster. She enters a number k t...
分类:其他好文   时间:2014-05-03 15:37:03    阅读次数:308
265条   上一页 1 ... 22 23 24 25 26 27 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!