由买买提看人间百态

topics

全部话题 - 话题: simplered
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
p*****u
发帖数: 188
1
Square provides some value added services, and its pricing is much simpler
for a human to understand.
For some scenarios, it's also cheaper. So some existing credit card
merchants may still switch to Square.
Refer to Square/Starbucks deal, SBUX certainly has POS. Of course, that's a
strategic partnership between
them, so it's a little different.
Majority of it's 1M+ merchants were not taking credit card payment until
they started
using Square. so this statement "美国现在还不接受信用卡的商家,也一定不会用
square的。。" ... 阅读全帖
p*****u
发帖数: 188
2
Square provides some value added services, and its pricing is much simpler
for a human to understand.
For some scenarios, it's also cheaper. So some existing credit card
merchants may still switch to Square.
Refer to Square/Starbucks deal, SBUX certainly has POS. Of course, that's a
strategic partnership between
them, so it's a little different.
Majority of it's 1M+ merchants were not taking credit card payment until
they started
using Square. so this statement "美国现在还不接受信用卡的商家,也一定不会用
square的。。" ... 阅读全帖
r*********n
发帖数: 4553
3
来自主题: JobHunting版 - 用rand5()产生rand7()
a simpler version of this problem could be using a fair coin to simulate an
unfair coin with probability p
j******2
发帖数: 362
4
来自主题: JobHunting版 - 问一个c++ string的问题
str.back()=char;
even simpler
r*****n
发帖数: 20
5
来自主题: JobHunting版 - 讨论几道google题(附个人答案)
about 6): Trie approach will definitely work. But using random sampling can
be simpler.
call a url a target iff it is of the format: prefix (as desired) + junk. By
a random drawing, we have 0.75 odd to get a target.
1. randomly choose n url from the 1 billion urls. The prob. that the chosen
ones are all targets is 1-(1-0.75)^n = 1-2^{-2n}
2. looks like n=10 is enough to grantee that all we drew are targets
3. use one index, call idx, pointing at the beginning of these urls, compare
url[0][idx],.... 阅读全帖
J**9
发帖数: 835
6
来自主题: JobHunting版 - 听说Apple是末位淘汰制?
Simpler than that: fire away if the manager thinks that a person does not
meet his/her expectations.
b********g
发帖数: 28
7
来自主题: JobHunting版 - G家电面的两个题
We are not storing every URL itself.
Instead, we only store the number of URLs for each length.
Actually a simpler solution is to use an integer array of size n, where n is
the max length: int[] count
Maintain these parameters:
idx: count[0], ..., count[idx] (partial) contains the first 95% url lens
offset: # of urls in count[idx], which belongs to the first 95%, 0 < offset
<= count[idx]
sumCount: count[0] + ... + count[idx - 1]
avg: average length of the first sumCount urls
At any point, the an... 阅读全帖
s**x
发帖数: 7506
8
来自主题: JobHunting版 - (CS) heapify a binary tree

the pushdown (or siftdown) part should not call heapify, it is much simpler
than heapify, just swap the bigger of two children with root if needed, you
need a separate function or a for loop I think.
c**y
发帖数: 172
9
来自主题: JobHunting版 - (CS) heapify a binary tree
The revised algorithm above follows the approach used in building a heap,
which consists of two parts: BUILD-MAX-HEAP (see page 157 of CLRC, 3rd
edition) and MAX-HEAPIFY (see page 154 of the same book).
The MAX-HEAPIFY algorithm is a recursive solution in that it calls itself
again in the pushdown part. Similarly, heapify is directly called by itself
in the above solution.
BUILD-MAX-HEAP restores the heap property in a bottom-up fashion.
Correspondingly, post-order is used to achieve the same bo... 阅读全帖
s**x
发帖数: 7506
10
来自主题: JobHunting版 - (CS) heapify a binary tree

the pushdown (or siftdown) part should not call heapify, it is much simpler
than heapify, just swap the bigger of two children with root if needed, you
need a separate function or a for loop I think.
c**y
发帖数: 172
11
来自主题: JobHunting版 - (CS) heapify a binary tree
The revised algorithm above follows the approach used in building a heap,
which consists of two parts: BUILD-MAX-HEAP (see page 157 of CLRC, 3rd
edition) and MAX-HEAPIFY (see page 154 of the same book).
The MAX-HEAPIFY algorithm is a recursive solution in that it calls itself
again in the pushdown part. Similarly, heapify is directly called by itself
in the above solution.
BUILD-MAX-HEAP restores the heap property in a bottom-up fashion.
Correspondingly, post-order is used to achieve the same bo... 阅读全帖
z****j
发帖数: 111
12
RT, dynamic programming is a method for solving complex problems by
breaking them down into simpler subproblems. It is applicable to problems
exhibiting the properties of overlapping subproblems[1] and optimal
substructure.
重叠子问题很好理解,但是,能够应用于DP解决的问题一定要有optimal substructure
吗?就好比Fibonacci所谓的DP解法,只是用了个memo记录下了之间计算过得结果以避
免子问题的重复计算, 但是貌似看不出有什么最优子结构啊。求指点...
c***z
发帖数: 6348
13
来自主题: JobHunting版 - 高盛strats面筋
Both the dice and noodle problems can be handled with Markov chains. And
there is clearly a simpler way after you work out the Markov chain.
p*u
发帖数: 2454
14
来自主题: JobHunting版 - 今天面试碰到个刷题王
this might be a little hard, but figuring out someone w/o capabilities is
much simpler.
w****2
发帖数: 6
15
来自主题: JobHunting版 - 问一道Uber的电面题
问题有些模糊的地方比如什么是合法,怎么推理(A N C)& (C NE D) =》 (A ?D
)对这个特殊问题合法性和推理规则也不难定义。
Given d = {N, NE, E, SE, S, SW, W, NW}.
- (d1, d2) is consistent if d1 \cap d2 != \empty
- (A d1 B) (B d2 C) => (A d1 \cap d2 B)
- (A d1 B) => (B d2 A) where d2 is the substitute d1 with S<->N and W<->E
Let D be a n X n matrix (it can be considered a graph) where D(i,j) is a set
of directions from i to j, given or inferred. Then run the inference until
no more changes. During inference, whenever a new direction is inferred fo... 阅读全帖
p*u
发帖数: 2454
16
来自主题: JobHunting版 - System Programmer vs Web Developer (转载)
dont believe so. web development is much simpler than system programming.
i*********e
发帖数: 21
17
来自主题: JobHunting版 - G面经里这个怎么做
2D Binary Index Tree, which is a simpler version of segment tree.
w********n
发帖数: 4752
18
来自主题: JobHunting版 - 问一个机器学习的问题
try a simpler model.
c******n
发帖数: 4965
19
来自主题: JobHunting版 - 狗家 题 讨论
1. Given a array of integers , find 3 indexes i,j,k such that, i ] < a[j] < a[k]. Best possible is a O(n) algorithm.
这个就现在这样可以就设三个点,每个 新点来了对比这三个参照。就是写好些if else
但如果推广到 要求找K element 长的递增的subsequence, 怎么办?I guess u could
simply use "find the longest increasing subsequence", but if the actual LIS
is much longer than K, maybe simpler methods exist to simply find ONE
subsequence longer than K?
c******n
发帖数: 4965
20
来自主题: JobHunting版 - lint code : O(N) string match?
http://www.lintcode.com/en/problem/strstr/#
if not KMP, what other approaches are possible? seems there is really not
any O(N) solutions simpler than KMP

发帖数: 1
21
来自主题: JobHunting版 - 老中在工作中一定要团结相互扶持
工作这么久,最近被一个烙印给搞了。而且还是间接被一帮junior 的老中给的陷害的~
老中真是各种类型的都不一样。
有的 感觉自己屌屌的目空一切。帮着老印搞老中。不让人写feedback 还要adhoc 写。
有的 踩着同胞上位,我自己就经历过这事情,被踩过,但是我是一声不吭,只要我的
绝对利益不被损害,能撑着同胞我就撑。我也照样给同胞好review。
有的同胞要升级了,给周围人 差点的review, 有点不地道,但这也没关系。 升级什
么的 大家都轮着来就可以。
我做面试官,绝对leecode 原题,不带改。老中都给过。实在过不了,我就说我拿不准
让 HR 给加面。
面试结束还会给提示 下几面 要注意的地方。
最近可以看到的是 一些年轻的小留 渐渐多了。 他们没有烙印斗争的经验。就是 too
younger too simpler sometimes naive . 嘴里捧着公司忽悠人的东西,被烙印当枪
使。
混得好的老中,提携下面的老中。别牛逼轰轰的 看不起其他老中。 自己上去了,壮大
自己的队伍最重要。 别尼玛都干到 senior manager 手里还就4个人。
工作中做的项... 阅读全帖
W***o
发帖数: 6519
22
来自主题: JobHunting版 - 脸家电话面试面筋
几个月之前写的代码
public static boolean isMonotonic(int[] A) {
int n = A.length, start = 1;
while (start < n && A[start] == A[start-1]) { start++; }
if (start == n) return true; // NOTE: critical
boolean isIncreasing = A[start] > A[start-1];
for (int i = start + 1; i < n; i++) {
if (isIncreasing && A[i] < A[i-1]) return false;
if (!isIncreasing && A[i] > A[i-1]) return false;
}
return true;
}
// 单调栈的思路
public sta... 阅读全帖
m**********2
发帖数: 6568
23
what is your primary goal here?
1) to save money
2) to have your dream house (design/floor plan etc not available from mass
builder)
If your goal is to save money, then: KNOWLEDGE IS MONEY. You have to work
hard to gain the necsssary knowledge and spend a lot of time before, during
and after the construction.
If your goal is 2), then much simpler. Just call around and get quotes from
at least 3 contractors.
m***y
发帖数: 14763
24
来自主题: Living版 - 地毯下面的钉子
True, or an even simpler solution, stay away from the corners.
h***b
发帖数: 1233
25
来自主题: Living版 - 请教washer和dryer几个问题
all i know is the simpler the better. more electronics means easier to
break. cost of repair is high.
front load or top loan, they should be all water efficient--gov't mandate.
rest is manufacturer's marketing/sales pitch. ignore the noise
steam is probably for dryer... dry faster but don't expect to achieve same
result as dryer cleaning.
i still have a pair of Whilpore from 15 yrs ago. runs perfect. don't plan
on dumping them 'til they break. i suppose more reliable than new models.
C*******d
发帖数: 15836
26
Mine are all electric. Basically no big problems but quite a few advantages
like no gas smell and no dangerous related to gas in cooking like poisoning
and exploding, much simpler water heater and air conditioning heater. One
disadvantage is that when power is out, you should still have gas for
cooking. But I have my small gas cooker with gas cans for such emergencies,
so it is not a major problem for me.
d*********2
发帖数: 48111
27
the way we r doing is getting the loan as big as possible.
put money to parents' account in China, without interest tax and take the
possible currency exchange rate profit.
much simpler than urs.
h***b
发帖数: 1233
28
来自主题: Living版 - 这样搞投资房可否
if they're employee and you're employer then you each pay your own FICA/
Medicare, still 2x. if EE/ER situation, then you need to get workers' comp.
.. self-employed is much simpler. just issue 1099 at yr end.
h***b
发帖数: 1233
29
来自主题: Living版 - 这样搞投资房可否
if they're employee and you're employer then you each pay your own FICA/
Medicare, still 2x. if EE/ER situation, then you need to get workers' comp.
.. self-employed is much simpler. just issue 1099 at yr end.
h***b
发帖数: 1233
30
来自主题: Living版 - 装修被骗,寻求意见
very tough to be honest. money involved isn't large enough to "attract"
lawyer. you can pay to hire one but expensive. try small claims court.
process is simpler, faster, and req min costs.
when dealing w/ contractor, always get reference, or get it thru referral.
never pay too much upfront. always in installments per project progress.
but there's very little you can do now... the guy probably did the same
thing to others.

6800
d*********e
发帖数: 3835
31
it sounds that you need to lay new pipes from inside to the outside, that is
a pretty big job, unless your kitchen is on the outside wall, then it will
be a little simpler. got a floor plan?
G***G
发帖数: 16778
32
来自主题: Living版 - bank appraise vs tax appraisal
I know. But can we estimate the bank appraisal from tax appraisal?
OK. make my question simpler.
Do you think if the bank appraisal will be higher than the tax appraisal in
most cases?
x****u
发帖数: 12955
33
来自主题: Living版 - 新手求推荐除草剂和铲雪机

His suggestions are way overkill for your lot. If I read you post right,
you have a 0.3 acre lot, that's including the area taken up by the house and
deck, correct?
For that size, just go to a local HD/Lowe/Sears/Farm and Fleet or whatever
your local hardware store, get any of those mowers that's around $150 would
be good enough for you. It would take just half an hour to an hour at most
to mow your lawn.
As for snow blower, a single stage would work. 2 stage blower works much
better. But i... 阅读全帖
n******s
发帖数: 210
34
来自主题: Medicine版 - 担心自己黄体不足,咋办?
the typical symptoms for progesterone is inter-period spotting,
and blood test for it is accurate, but time is important, go to see a doc
days before the onset of period, and blood test can be done immediately.
there is another simpler way to test it, that can be done at home, check the
temp around 14th day, if it goes up around 1 degree, that means, ovulation
is normal, and your corpora luteum works well and progesterone is roughly OK
.
l*h
发帖数: 4124
35
来自主题: Medicine版 - 关于恶性淋巴瘤-- 急寻帮助
OK, let's make it simpler:
when did her fever start? when did it end?
when was the PET-CT done?
when was the sample taken for the bone marrow biopsy report written on 11/2/
2012?
v*x
发帖数: 1370
36
I think it may works to your best benefit. since it is usually difficult
to negotiate down interest rate, and with 0ptOcost you eliminates
many possible hidden tricks at closing. the simpler the better.
Do shopping around and go for the best offer.
never ever stick with one lender.
actually i found those small lenders are the best. they should be
called mortgage brokers since they never hold your mortgage, once
they initiate a deal, they will try their best to sell it to the
real lenders before
y****i
发帖数: 17878
37
来自主题: Money版 - 关于Chase的ACH
I have accounts at both chase and fidelity
let me give you a much simpler answer
not matter how you do it between the two, as long as it is ACH, it is free
just try it //hehe
e******n
发帖数: 3435
38
来自主题: Money版 - Amex COSTCO卡真是鸡肋
可以省一个costco卡,只用带信用卡,life becomes simpler。旅游时也很好。

年刷个两三千块钱,每年结清一次;如果消费超过5000刀,真不如citi、freedom之类
的卡了。
N****g
发帖数: 2829
39
来自主题: Money版 - FIA点数会涨价吗?
昨天出来的FIA账单最后有这么一段,
“As of October 2013, merchandise will no longer be available as a
redemption option. You'll still be able to use your card to purchase
merchandise at any
retailer, earn points on that transaction, and redeem points for cash to
offset your purchase, or gift cards or travel. In addition, cruise
redemptions will be unavailable. However, we're updating our travel rewards
redemption website to make it simpler and easier and you will have greater
travel selection. Sign in at www.fia... 阅读全帖
b******9
发帖数: 792
40
来自主题: Money版 - Delta 也要贬值?
Delta Plots Major Rewrite of Frequent-Flier Rules
Passengers to Earn Miles Based on Prices of Tickets Purchased
http://online.wsj.com/news/articles/SB1000142405270230483470457
Delta Air Lines Inc., DAL +2.43% taking a page out of loyalty programs
offered by smaller U.S. carriers, said it would revamp its SkyMiles frequent
-flier plan starting Jan. 1 of next year so that passengers will earn miles
based on the prices of tickets purchased, not the distances flown.
Delta, the nation's No. 3 airlin... 阅读全帖
m**2
发帖数: 3374
41
收到这个IHG Email,不确定是不是targeted。
Reserve rooms in an instant—and get more bonus points when you designate
your MasterCard to your traveler profile.* You’ll be able to book rooms
with fewer clicks & never search for your card again.
You’ll be rewarded with 500 bonus points when you add your MasterCard by
October 31, 2015.*
Travel for work? You can create additional profiles with cards designated
for business or personal trips.
Go ahead and make life simpler. You’ll wonder why you didn’t do this
soon... 阅读全帖
n****q
发帖数: 464
42
You should have your LG checked first! It is much easier and simpler.
n****e
发帖数: 4990
43
来自主题: NextGeneration版 - 在美国做人工授精大概什么价格啊
this range is about right. IUI is much more simpler than IVF. a lot of
insurance have IUI coverage with 3-6 lifetime attemps, while very few have
the IVF coverage.
w*********i
发帖数: 767
44
Do you have green card? Is your employer supporting your visa? If not, the
issue will be simpler.
Do not resign/leave the position voluntary. If you do so, you won't qualify
for unemployment benefits, unless you find a better opportunity.
If your employer layoff you, they need to provide a layoff letter in writing
, so you can apply for unemployment.
If your employer force you to leave, they need to give you a written warning
first. Usually, it's one month before the termination date. At that t... 阅读全帖
a*****g
发帖数: 19398
45
来自主题: NextGeneration版 - 最 Math Friendly 的语言
(原文标题--The Best Language for Math )
Sept. 9, 2014
【注:刚才遇到一位平时熟悉的美国教育学系的教授.
她说看了这篇文章,以为是我写的.
因为平时我发表的中文对数学教育影响的观点,
以及围棋数学这个游戏对儿童数学能力的影响,
基本上已经覆盖了这篇文章中几位教授的工作.
我说暂时还和文章里面的教授们没有交集,
不过早晚有一天他们会知道围棋数学.】
What's the best language for learning math? Hint: You're not reading it.
Chinese, Japanese, Korean and Turkish use simpler number words and express m
ath concepts more clearly than English, making it easier for small children
to learn counting and arithmetic, research shows.
The language gap is drawing... 阅读全帖
m**k
发帖数: 18660
46
来自主题: Parenting版 - 这个lego啊
yeah. actually basic bricks are more creative than lego bricks.
simpler is always better!
B******1
发帖数: 9094
47
来自主题: Parenting版 - 围棋是可以这样玩的(图)
Nice.
Just a wild idea:
It may be possible to design a simpler and fun! version of GO. For example,
design a simple cube or ball or pyramid or prism or diamond or graphite or
any suitable 3-D structures with certain coordinates. Design certain rules to
allow a player to remove the opponent's piece (in-between or outnumbered
on a line or within a closed loop/shape, etc.). Mix the game with shape
recognition or color recognition. Make the pieces larger so that it would
not be a health hazard for ... 阅读全帖
p***7
发帖数: 535
48
Support! But is it possilbe you can provide us a simpler way to do it? For
example,a written letter(model), a website to sign our names or whatever. It
is very hard to spend lots of time on it with a full time job and 2 little
children.
W******e
发帖数: 3319
49
1. Introduction
My interest in studying creativity was inspired by the frustrations that I
felt as a student, then as a professor. I wanted to know how I could
encourage creativity in myself, my students, and my colleagues.
Politicians, industrial managers, academic administrators, and other leaders
often say that innovation is critical to the future of civilization, our
country, their company, etc. But in practice, these same people often act as
if innovation is an evil that must be suppressed,... 阅读全帖
y*c
发帖数: 247
50
涂氟:fluoride treatment, can use foam and tray or fluoride varnish.
窝沟封闭: sealant. seal pits and grooves on occlusal surfaces of permanent
molars to prevent cavity. suggest to do it once permanent molars (恒磨牙)
are fully erupted. about 7 years old for first molar (六龄齿) and 12 years
old for second molar.
补牙:Fillings: amalgam filling, stronger but metal color, or composite
filling (树脂, tooth color).
SSC (stainless steel crown): if cavity is large or oral hygiene is a problem
, SSC may be suggested in... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)