Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Subscribeto see which companies asked this questionSh...
分类:
其他好文 时间:
2016-01-03 22:16:41
阅读次数:
164
Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.Subscribeto see which companies asked this q...
分类:
其他好文 时间:
2016-01-03 22:12:41
阅读次数:
220
Reference: InstanceSuppose that two companies are the only manufacturers of a particular product; they compete against each other for market share. In...
分类:
其他好文 时间:
2015-11-26 21:19:59
阅读次数:
352
这是来自quroa的问题:Why-aren't-there-a-lot-of-old-programmers-at-software-companies下的一个回答。柔城是哪里?很多人会疑问是不是程序员最后只能转管理,是不是到了中年之后就应该放弃编程。看到这个回答后很受触动,尽力翻译出来,有不恰当的...
分类:
其他好文 时间:
2015-11-26 06:57:58
阅读次数:
186
Sort a linked list using insertion sort.Subscribeto see which companies asked this question解法:设置3个指针:应插入位置的前一个节点first、当前处理节点third和其前一个节点second,设置辅助节点h...
分类:
编程语言 时间:
2015-11-16 14:08:07
阅读次数:
181
Implement pow(x,n).Subscribeto see which companies asked this question解法1:最简单的即是n个x直接相乘,毫无疑问会超时Time Limit Exceededclass Solution {public: double my...
分类:
其他好文 时间:
2015-11-12 19:55:19
阅读次数:
310
Divide two integers without using multiplication, division and mod operator.If it is overflow, return MAX_INT.Subscribeto see which companies asked th...
分类:
其他好文 时间:
2015-11-12 19:46:10
阅读次数:
189
Discription:Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.Subscribe to see which companies asked t...
分类:
其他好文 时间:
2015-11-10 16:05:38
阅读次数:
257
作为系统管理员,我最担心那些重要的在线系统在我不知情的情况下停机或者停止网络服务,而且那些发生故障的服务或主机有时候可能要好长一段时间才知道(这种情况多发生在节假日),只要一到节假日,很多系统管理员就紧张不已。要改变这种被动局面,我在这里推荐网络监控软件Nag..
分类:
移动开发 时间:
2015-11-03 23:09:14
阅读次数:
380
Three companies decided to order a billboard with pictures of their logos. A billboard is a bigsquareboard. A logo of each company is a rectangle of a...
分类:
其他好文 时间:
2015-09-28 23:53:27
阅读次数:
367