t******t 发帖数: 91 | 1 来给楼主顶一个!
顺便给护士们推荐个神器,可以通过扫描IMEI / SN,自动录入机型, 容量,颜色!
使用方法:
=========
1. google play store 地址:
https://play.google.com/store/apps/details?id=com.cumulitech.multiple
(扫描附件里的二维码也可以哦)
或在Google Play Store 搜索“iPhone Reseller Helper”
下载并安装之
2. 点击手机上的“iPhone Scan Tool”
3. 把扫描窗口对准 iPhone 包装盒屁股上的条码(SN/IMEI这些),
这时候系统会识别出并显示Model #, Serial #, IMEI等信息
(如果没有办法识别,请调整相机角度,并且点击扫描框内部以重新聚焦)
4. 点击左边的V字箭头图标,通过点击选择要发给神医的机器的照片
也可以点击右上角右边第二个图标以选择全部 (见screen1.jpg)
5. 点击右上角最右的图标发送,可以是email,也可以是gmail客户端
这时候,既可以在手机上填入神医的邮件地... 阅读全帖 |
|
t******t 发帖数: 91 | 2 帮顶!
顺便给护士们推荐个神器,可以通过扫描IMEI / SN,自动录入机型, 容量,颜色!
使用方法:
=========
1. google play store 地址:
https://play.google.com/store/apps/details?id=com.cumulitech.multiple
(扫描附件里的二维码也可以哦)
或在Google Play Store 搜索“iPhone Reseller Helper”
下载并安装之
2. 点击手机上的“iPhone Scan Tool”
3. 把扫描窗口对准 iPhone 包装盒屁股上的条码(SN/IMEI这些),
这时候系统会识别出并显示Model #, Serial #, IMEI等信息
(如果没有办法识别,请调整相机角度,并且点击扫描框内部以重新聚焦)
4. 点击左边的V字箭头图标,通过点击选择要发给神医的机器的照片
也可以点击右上角右边第二个图标以选择全部 (见screen1.jpg)
5. 点击右上角最右的图标发送,可以是email,也可以是gmail客户端
这时候,既可以在手机上填入神医的邮件地址直接发送... 阅读全帖 |
|
t******t 发帖数: 91 | 3 帮顶!
顺便给护士们推荐个神器,可以通过扫描IMEI / SN,自动录入机型, 容量,颜色!
使用方法:
=========
1. google play store 地址:
https://play.google.com/store/apps/details?id=com.cumulitech.multiple
(扫描附件里的二维码也可以哦)
或在Google Play Store 搜索“iPhone Reseller Helper”
下载并安装之
2. 点击手机上的“iPhone Scan Tool”
3. 把扫描窗口对准 iPhone 包装盒屁股上的条码(SN/IMEI这些),
这时候系统会识别出并显示Model #, Serial #, IMEI等信息
(如果没有办法识别,请调整相机角度,并且点击扫描框内部以重新聚焦)
4. 点击左边的V字箭头图标,通过点击选择要发给神医的机器的照片
也可以点击右上角右边第二个图标以选择全部 (见screen1.jpg)
5. 点击右上角最右的图标发送,可以是email,也可以是gmail客户端
这时候,既可以在手机上填入神医的邮件地址直接发送... 阅读全帖 |
|
t******t 发帖数: 91 | 4 帮顶!
顺便给护士们推荐个神器,可以通过扫描IMEI / SN,自动录入机型, 容量,颜色!
使用方法:
=========
1. google play store 地址:
https://play.google.com/store/apps/details?id=com.cumulitech.multiple
(扫描附件里的二维码也可以哦)
或在Google Play Store 搜索“iPhone Reseller Helper”
下载并安装之
2. 点击手机上的“iPhone Scan Tool”
3. 把扫描窗口对准 iPhone 包装盒屁股上的条码(SN/IMEI这些),
这时候系统会识别出并显示Model #, Serial #, IMEI等信息
(如果没有办法识别,请调整相机角度,并且点击扫描框内部以重新聚焦)
4. 点击左边的V字箭头图标,通过点击选择要发给神医的机器的照片
也可以点击右上角右边第二个图标以选择全部 (见screen1.jpg)
5. 点击右上角最右的图标发送,可以是email,也可以是gmail客户端
这时候,既可以在手机上填入神医的邮件地址直接发送... 阅读全帖 |
|
o*d 发帖数: 257 | 5 Lysol 在walgreens有买的,要concentrate 那种。除臭,消毒,清洁它是我的super
helper
用它擦过的桌面地面掉下食物我都敢捡来吃,别的清洁剂可不安全。
它淡淡的消毒水的味道很好闻,也像一道安全的信号。 |
|
|
|
p***y 发帖数: 18037 | 8 看一下周日纽约地铁的大餐。看到那个menu就很饿呀,caviar, foie gras, filet mignon, 和 panna cotta, 都是我爱的。
======================================================================
http://www.nytimes.com/2011/05/04/dining/04train.html?_r=1&ref=
Aboard the L Train, Luncheon Is Served
By MELENA RYZIK
Published: May 3, 2011
The maître d'hôtel, who identified himself as C. K., steadied
diners' tables.
Yana Paskova for The New York Times
IN the era of pop-up restaurants and speakeasies, flash mobs and social
stunts, it... 阅读全帖 |
|
|
D**S 发帖数: 24887 | 10 http://www.seniorark.com/Health%20Articles/Trans%20Fat%20List.h
The Trans Fat List
Following are the top 10 categories of foods that made the "most unwanted
list." Some formerly bad characters have cleaned up their act. Values listed
for trans fats are per serving as labeled by the product's manufacturer.
1. Spreads. Margarine continues to be a major culprit. Stick margarine is
worse than soft margarine.
Blue Bonnet stick margarine -- 1.5 grams
Fleischmann's stick margarine -- 2 grams
... 阅读全帖 |
|
|
|
|
h*******y 发帖数: 864 | 14 I should mention that people who expect to earn 10% annually from equities
during this century –envisioning that 2% of that will come from dividends
and 8% from price appreciation – are implicitly forecasting a level of
about 24,000,000 on the Dow by 2100. If your adviser talks to you about
doubledigit returns from equities, explain this math to him – not that it
will faze him. Many helpers are apparently direct descendants of the queen
in Alice in Wonderland, who said: "Why, sometimes I’ve beli |
|
w***n 发帖数: 1519 | 15 You'd need to hire helpers if you are to raise your kid(s) alone. |
|
w***n 发帖数: 1519 | 16 You'd need to hire helpers if you are to raise your kid(s) alone. |
|
h***s 发帖数: 19 | 17 本人是一个烂校,估计100名左右吧。半路出家到statistics.因为以前的专业没有钱途。
俺是一个超级菜鸟,写程序,一定要开helper,因为我记不住那些函数,:-(
去年12月份答辩完后开始post resume @monster
在到老公这里前就一个phone interview from Kohl's
一个很小的城市作risk analysis ,但是不知道,第二天就hr人过来让道网上填
application form 啥的,roommate 说能要给onsite。但是我对薪水不熟悉,就填了个7万.
后来就没有戏了。
到了这里后,一月份巨郁闷,来一个phone interview,就死一个。
压力巨大,后来把resume改了,牛皮吹了吹。另外把我要找的方向给突出了一下。
一些垃圾经历直接掠过,像安提到的4,5年的webmaster,反正俺不着cs的工作。
我就把财经和医药的经历突出吹了一下。别的都简略。
从2月初,运气好起来,虽然phoneinterview不多,一个星期1个2个的。
但是如果没有记错从2月中以后,每一个phoneinterview都几乎给了onsite.( |
|
d****a 发帖数: 158 | 18 MS with >6 years exp in academic.
I contacted a recruiter. She notified me the position about 10 days ago. Set
up an on site interview on Wed and I got the offer on Thurs. It is a small
company belongs to a big contract company though. It is a permanent position
.
As to applications online, no reply from big companies. I did got an on site
interview on Friday from a small company in another state.
My suggestion is to do the both way. Sometimes a recruiter is really a
helper to get you into the c |
|
r********t 发帖数: 395 | 19 http://careercup.com/question?id=405592
Q: Take a tree (binary or otherwise), write a method in any language that,
when given the root node, will print out the tree in level order. With a new
line after the end of every level.
Helper methods are ok, big O run time efficiency doesn't matter (though
obviously a quicker solution is better). Do not destroy original tree.
A:
1. queue.push(root)
2. queue.push(marker)
3. while queue not empty
node = queue.pop()
if(node == marker)
|
|
w******1 发帖数: 520 | 20 电面一轮,先扯淡,再问了一个技术问题,题目是那个excel的index转换,index ->
数字,coding完,问测试。
google answerhttp://www.cnblogs.com/bestcomy/archive/2009/02/04/1383521.html
转换Excel列名,例如A列序号为0,Z列序号为25,ZB列则为27
发现字母列名实际为26进制,于是写了如下Helper Class来解决我的问题
public static int ToIndex(string columnName)
9 {
10 if (!Regex.IsMatch(columnName.ToUpper(), @"[A-Z]+"))
11 throw new Exception("invalid parameter");
12 int index = 0;
13 char[] chars = columnName.ToUpper( |
|
a*********s 发帖数: 121 | 21 幫推,其實政府對于OPT填寫的工作(地址,等等)的審查嚴不嚴?
我三個月快過,以前認識得教授沒一個肯收我(說我已經不在那邊讀),所以想找個讀
我major的PhD朋友,隨便亂寫說是他得volunteer research assistant/helper,可以
行得通嗎? |
|
a*********s 发帖数: 121 | 22 幫推,其實政府對于OPT填寫的工作(地址,等等)的審查嚴不嚴?
我三個月快過,以前認識得教授沒一個肯收我(說我已經不在那邊讀),所以想找個讀
我major的PhD朋友,隨便亂寫說是他得volunteer research assistant/helper,可以
行得通嗎? |
|
g**e 发帖数: 6127 | 23 发一个我昨天写的
private static void join(Node a, Node b) {
a.right = b;
b.left = a;
}
/**
helper function -- given two circular doubly linked
lists, append them and return the new list.
*/
private static Node append(Node a, Node b) {
if (a==null) return b;
if (b==null) return a;
Node aLast = a.left;
Node bLast = b.left;
|
|
n*******s 发帖数: 482 | 24 (1) Using counting sort, the helper array C[]. C[x] is the number of
elements in original array that smaller than or equal to x. So the number in
range (i,j] should be C[j] - C[i]. If the range is [i,j] , just do a small
modification. |
|
d**e 发帖数: 6098 | 25 han6果然好眼力!
其实那一步是多余的吧,直接把root->data代到最后一个helper function作参数可以
了。 |
|
d******u 发帖数: 397 | 26 int find_next_palindrome(int a){
String b = Integer.toString(a);
int l = b.length()/2;
if (b.length()%2 == 1){
l++;
}
int c = (int)Math.pow(10, l);
int d = a/c;
String e=Integer.toString(d+1);
String re=reverse_string(e);//helper function
if (b.length()%2 == 1){
e+=b.charAt(b.length()/2);
}
e+=re;
return Integer.parseInt(e);
}
String reverse_string(String in)... 阅读全帖 |
|
c**y 发帖数: 172 | 27 define two helper functions first.
1. min_BST(root)
2. succ_BST(curr)
then traverse the BST in the following way
for (node = min_BST(root); node; node = succ_BST(node)) {
// do something for each node
}
This is how a BST is traversed. |
|
g**********y 发帖数: 14569 | 28 改在原贴,应该用findSuperCool(y), 后面这个是helper function。 |
|
i**********e 发帖数: 1145 | 29 Good observation.
You are correct, my previous post has bugs and did not address the overflow
issue properly.
Two methods to address:
i) find the upper bound of SQRT(INT_MAX) once and pass it into that function
. The upper bound can be found using a helper function that tests for
overflow. (ie, as soon as the condition when x > x*x is met, we knew x-1 is
the upper bound).
ii) declare the parameter x as unsigned int. Then initialize the upper bound
,
hi = min(n/2, (1<<16) - 1);
Hope this helps. |
|
c******r 发帖数: 225 | 30 3. read n lines of random numbers(space as delimiter) from a file, lines
with same numbers are treated as duplicated lines, regardless of the order.
check and print non-duplicate lines. performance time analysis.
sort the n line based on the # of numbers in each line o(nlgn)
only lines that have the same # of numbers will be compared
suppose we have a set of m lines of length k
for each line in line_set:
sort numbers in each line ~ o(klgk)
then build a hashmap as a helper data structure
for al... 阅读全帖 |
|
e***l 发帖数: 710 | 31 如果主函数这么调用helper就不会有null的情况,你看看书上怎么写的
boolean isValid(Node root){
if(root==null) return true;
else return isValidHelper(root, INT_MIN, INT_MAX);
} |
|
O******i 发帖数: 269 | 32 最近面了一家IT大公司被拒,一共经历了N轮技术面试。自己感觉还不算太坏,但也有
三轮发挥不太完美,所以心里很没底。
结果还是被拒了。
下面是这三轮的详细经历,请大家探讨一下大公司招人的标准。
第i轮是找二叉树从根开始的所有路径,使得该路径上所有节点的值之和等于一个给定
的数。我犯了一个战略错误,因为我在准备过程中看过CarrerCup的更通用的解法,不
要求从根开始,也不要求到叶子结束,于是我直接用了那个思路,在白板上写下了类似
下面的代码
void FindPath(Node* root, int sum, int path[], int level)
{
if (root == NULL)
return;
int s = 0;
for (int i = 0; i < level; i++)
s += path[i];
int value = root->data;
if (s + value == sum)
PrintPath(path, level, value);
path[leve... 阅读全帖 |
|
s*******s 发帖数: 1568 | 33 Two sigma is still a transitional hedge fund. Portfolio Manager (PM) is the
one who leading a desk. (IT/Quant/trader just helpers) They are trying to
setup their high-freq desk recently but the future is vague. |
|
i**********e 发帖数: 1145 | 34 函数的输入输出都定义好了。如果要自定义函数只能写一个 helper。
能不能说说具体哪一方面很难写呢? |
|
H****r 发帖数: 2801 | 35 helper 能写在主函数里吗? lambda function 算了
★ 发自iPhone App: ChineseWeb - 中文网站浏览器
★ 发自iPhone App: ChineseWeb - 中文网站浏览器 |
|
H****r 发帖数: 2801 | 36 比如这个想自定义个helper然后调用?
class Solution {
public:
vector > combinationSum(vector |
|
i**********e 发帖数: 1145 | 37 哦,对。
像这种递归的题目自定义helper然后调用是很正常的。 |
|
H****r 发帖数: 2801 | 38 就是不知道在online judge自定义helper咋写啊
★ 发自iPhone App: ChineseWeb - 中文网站浏览器 |
|
i**********e 发帖数: 1145 | 39 就在 class Solution 里面自定义就行了。
例如:
class Solution {
public:
void get(int ...) {
getHelper(x...); //call helper function
}
void getHelper(int ... ) {
// write code here...
}
}; |
|
w******a 发帖数: 236 | 40 今天下午和LinkedIn的一个老美电面了一下,一个小时只做了一道题。自己发挥的不好
,就move on吧。题目其实很简单,在一个2D的,行sorted,列sorted,另外前一行的
最后一个数小于下一行第一个数的整数数组中,寻找target数是否存在。举例:
1 3 5 7
8 10 12 16
20 14 28 40
一开始我说了O(n)的解法,就是从右上角的元素开始,根据当前元素和target比较的大
小,决定向下还是向左移动,直到最后一行和最左一列。leetcode的网站上有的。后来
又问如果是row=1或者col=1怎么办。回答说那就普通binary search。再问那考虑通用
情况,如何改进。这时候我反应过来,应该对这个二维数组从middle element开始,直
接进行binary search。复杂度为O(lg(M+N))。对方表示满意。
接下来开始写程序。这时候突然开始愚钝,死活没写对怎么计算middle element当前的
row和col的值。后来时间耗得差不多了,突然反应过来应该用个小的helper function
去做1D index到2D index的... 阅读全帖 |
|
z****h 发帖数: 164 | 41 private void printstringwithprefix(String[] ss, String prefix) {
if(ss == null) return;
if(prefix == null || prefix.isEmpty()) return;
int low = 0;
int high = ss.length -1;
for(int i = 0; i< prefix.length() && low <= high; i++)
{
int mid = (low+high)/2;
if(i >= ss[mid].length())
{
return;
}
if(ss[mid].charAt(i) < prefix.charAt(i))
... 阅读全帖 |
|
Z*****Z 发帖数: 723 | 42 除了全局变量还有一个办法模拟C里面的指针
定义一个helper类,比如
class ListNodeHelper{
ListNode ref;
}
把需要在C里面传指针在Java里面只能传引用的的痛苦的地方用这个类的变量代替。
另外,还可以考虑定义一个长度为1的数组。。。
其实本质上都是语文老师说的,放到容器里面。 |
|
a*******y 发帖数: 1040 | 43 回来了 with mixed feeling
题目都不难,但是第三个有点坑坑爸爸,最后做错来了,这哥们好像有点没follow,我
觉得code应该work,回来路上想到有个bug,result没push到vector里,日
但是感觉那个code不elegant,那哥们说应该用另外一个helper function来做
recursive,我agree,但是个人感觉我写的应该work,总体感觉这个做的不是100% 牛
逼,第一个第二个应该没什么问题,第四个是design,难说结果怎么样,那个门也不知
道是太nice还是觉得我傻逼,过程中每个东西我刚一想,他就说答案,比如说应该大概
多少内存,他马上说10g,我说应该用hash,他马上说对,可以用hashcode来hash first
letter and second letter,唉,难说
题目都不难, level order print BT,哥们不让用两个queue也不让用两个variable,
还好我立马想到用token作为一个dummy node,在想什么时候push dummy node时候犹豫
了下,最后还是做出来了,写完有... 阅读全帖 |
|
c*****a 发帖数: 808 | 44 有一个helper function来输入count?或者make count static global |
|
s********x 发帖数: 914 | 45 1. use Key to do 'binary search' travel to find first closet node. Then use
two helper function inorderSucc and inorderPrev to expand to neighboring
nodes.
1 public static TreeNode inorderSucc(TreeNode e) {
2 if (e != null) {
3 TreeNode p;
4 // Found right children -> return 1st inorder node on right
5 if (e.parent == null || e.right != null) {
6 p = leftMostChild(e.right);
7 } else {
8 // Go up until we’re on left instead of right (case 2b)
9 while ((p = e.parent) != null) {
10 if (p.left == e)... 阅读全帖 |
|
i******e 发帖数: 273 | 46 20
/ \
-3 -5
/ \
3 8
/ \ \
-2 -1 10
/ /
6 -7
这个test case的max path sum 应该是20-> -3 -> 8 -> 10 (sum = 35).
按照你的程序
在根节点 20: maxSum = max(max(helper(-3, leftG), helpfer(-5, rightG), 20
+ leftG + rightG);
因为leftG包含了以结点3为子树根节点的一条路径(6 -> -1 -> 3 -> -3 -> 8 -> 10
). 这条路径不能和根节点20一起构成一条新的路径. 所以得出的解是最大和(20 +
23 = 43), 但是却不是一条有效路径。
请大家帮忙看一下是不是我哪算的有问题? 谢谢。 |
|
l***i 发帖数: 1309 | 47 From some friend:
1. communicating with the interviewer all the time.
2. write clean code (you can reserve part of whiteboard as scratch pad),
make a plan before writing, define helper function if helps.
3. keep focused until you return to the lobby.
Lunch interviewer may not ask questions during lunch, but will ask coding
question right after lunch.
From previous post lz is quite nb so should expect an offer right after all
interviews are done. MSFT is very quick in giving a decision. |
|
c********t 发帖数: 5706 | 48 好像弄明白你的题意了。虽然我不懂c++,不过我觉得你的问题是,findLongestWord_
helper又想split to several words才能true, 又想如果剩一个词也要true
看看改成下面的行不
bool findLongestWord_helper(string &s, map &hm,bool hasSplit)
{
for(int i = 1; i <= s.size(); i++)
{
string sub_f(s, 0, i);
if(hm[sub_f])
{
if(i==s.size() ) return hasSplit;
string sub_b(s, i, s.size()-i);
if(findLongestWord_helper(sub_b, hm, true))
return true;
}
}
return... 阅读全帖 |
|
d**********x 发帖数: 4083 | 49 那题目貌似就没卡复杂度。。。枉我昨天下班后还捏着鼻子写了个treap。。。结果证
明是输出格式错了,只过了两三个case的可以考虑检查一下输出格式
思路大致就是用order statistics tree。每次查询都是O(logn)。手写最大问题在于没
法定制容器的行为。。。
好吧,然后想了一下,如果用两个heap加一个map的话也是可以的,因为只是查询
median,没有要求随机查询kth元素,所以还是写复杂了
附上代码,treap是个随机平衡树,可以拿去用。
#include
#include
#include
#include
using namespace std;
template
class Treap {
public:
class Node {
public:
Node(const T& value)
: value_(value),
left_(NULL),
right_(NULL),... 阅读全帖 |
|
r******r 发帖数: 700 | 50 /**
* Using {@link AppleExercise.Problem1.SampleCache} as a starting point,
answer questions 1-3 by
* creating 3 new inner classes within {@link AppleExercise.Problem1}
below.
*/
public static class Problem1 {
public interface Cache {
public void put(Object key, Object value);
public Object get(Object key);
}
public static class SampleCache implements Cache {
private Map map;
public SampleCache() {
... 阅读全帖 |
|