m*******s 发帖数: 758 | 1 T_k = first time to see consective k same values of one dice
what is the expection ?
It was discussed about consective k same value of "1" : T_k(1)
E[T_k(1)] = 1/6 (E[T_{k-1}(1)]+1) + 5/6(E[T_{k-1}(1)]+1+E[T_k(1)])
How about this question ?
hee T_k = min {T_k(1),T_k(2),...,T_k(6)}. |
|
z***e 发帖数: 5393 | 2 maybe you can count the double linked list to find out which one is the "
middle point"(root).
before the middle point:
for any consective a1,a2,a3 (a1 is the root for previous), you can create
a2
a1 a3
then for the next a4, a5, you can have
a4
a2 a5
until you reach the middle point.
After the middle point, you don't use the "root" for the previous tree, but
the "right child".
say you have:
b1
b2 b3
then for b4, b5, you use b3 as the root to create:
b3
b4 b5
just my thought... |
|
r*******y 发帖数: 1081 | 3 来自主题: JobHunting版 - G的面试题 no need to prove this one. hehe
if no consective F numbers to use in the representation, then any number
n can have a uniqe F representation.
|
|
s******y 发帖数: 72 | 4 Phone Interview:
research + coding,
Coding: String Match strstr(); naive way and KMP, write code
Onsite:
一共见了八个人,六个Enginneers, 两个senior manager,给了一个talk。
问了很多research和system相关的问题,以及coding, 记得的问题有
Coding and Language questions:
1) Given a interger array, find a consective subarray with maximal sum
2) 3Sum, without extra space. How to extend to handle KSum?
3) Write a thread safe queue
4) Editing distance, return minimal distance and the operations (remove,
insert, replace) to convert one strin... 阅读全帖 |
|
s******y 发帖数: 72 | 5 Phone Interview:
research + coding,
Coding: String Match strstr(); naive way and KMP, write code
Onsite:
一共见了八个人,六个Enginneers, 两个senior manager,给了一个talk。
问了很多research和system相关的问题,以及coding, 记得的问题有
Coding and Language questions:
1) Given a interger array, find a consective subarray with maximal sum
2) 3Sum, without extra space. How to extend to handle KSum?
3) Write a thread safe queue
4) Editing distance, return minimal distance and the operations (remove,
insert, replace) to convert one strin... 阅读全帖 |
|
a*****2 发帖数: 96 | 6 n expected number of tossing generating 3 consective heads
n = (1/2)*(n+1) + (1/4)*(n+2) + (1/8)*(n+3) + (1/8)*3
n = 14 |
|
R*********i 发帖数: 7643 | 7 - I feel infant carseat provides better support for the baby. My daughter
reached 22 lbs when she was 11 months old. We used the infant carseat a lot
in the first year.
- A larger convertible carseat can be used from 1 year old till 4 years old
or 40 lbs. Chances are if you plan to have two kids consectively you will
need two of those.
- Unless you trust the owner, it is not advised to buy 2nd-hand carseats.
Strollers are ok. |
|
D****9 发帖数: 10889 | 8 <25K, margin account can do 4 day trade in 5 consective days. Cash account
can't. |
|
m*****i 发帖数: 4342 | 9 1) I did not sell one share
2) As I stated before, the book value is over $30, expected earning over 1.
20/share for this year.
3) I expect their US mortgage operation to turn a profit this year
4) They have very profitable mortgage insurance operation in Canada/Austria.
Recently, the currency for both countries are at all time high against US
dollar, so they had some asset appreciation in the last quarter.
5) Their Life insurance sectors did not perform well but still profitable
and they took v... 阅读全帖 |
|
C*********o 发帖数: 563 | 10 no idea about american guys' soccer, but our
chinese team is the champ for several consective
years, in mid-atlantic area. hehe
but i dont play it. :P |
|
n****e 发帖数: 4990 | 11 he made 7 consective 3pt, the first miss was in the last minute of the
second half |
|
n****e 发帖数: 4990 | 12 yesterday cp3's first basket was made in the middle of 4th quarter.his first
half stats were sth like 0pts/2ast/4tos then he made consective shots in
last minutes and secure the win. |
|
b******u 发帖数: 469 | 13 AFCE. Ranking:
No. 1: IndiannaPolis Colts
Key Word: New HC and OC
What we know: Tony Dungy and Colt's OC are fir... Wait, aren't they actually
called..., Peyton Manning? He'll be healthy from Week1. I know that Marvin
Harrison, #2 in history in number of reception, is, jobless for now. Expect
Anthony Gonzales to contribute. Actually he should have done that one year
ago.
What we don't know: Last year Colts started with 3-4, and finally finish
with Nth (>=6) consective >=12 win season. You can d |
|
q******n 发帖数: 649 | 14 这个很值啊
****FALL SAUSAGE SPECIAL****
DOE AND HOG FALL CASH SPECIAL $265
INCLUDES:
ONE DOE TAG
UP TO THREE HOGS
CLEANING FEE FOR DOE
DRIVER FOR DOE HUNT
THREE 1/2 DAY CONSECTIVE HUNTS!
Hunts must be conducted between October 1st - November 23rd 2011.
Special limited to 20 tags, 50% deposit required to reserve tag.
Does not include gratuities for driver or additional cleaning* |
|
|
s********d 发帖数: 364 | 16 wins 10+ games in 7 consective years?
how many teams have done that?
histo
g
o |
|
U*******1 发帖数: 1565 | 17 Same here. I lost today 5:0 in matches, This guy is only 1500+, but with very good defense. To get one point, I need to loop/hit three times consectively at least. |
|
x***k 发帖数: 3311 | 18 9 days (5 consective), 3 resorts, 4 places with frost bite. |
|
b*********s 发帖数: 6757 | 19 要consective no 1 weeks, 连续大满贯只是前提之一, 其他master 1000也得连续保
持打出好的成绩。 从这点看老费真的厉害,因为他最强的surface是草地, 可草地的
比赛一年下来也没几个。。。 |
|
s*********k 发帖数: 1989 | 20 Yesterday I tried RUSH 50 and got unlucky (play two tables, one table down
two mini Buy-in; the other up 1 mini Buy-in+) and went to try RUSH 25.
Surprisingly RUSH 25 is extremely soft. I play around 100 hand/session(two
tables together). Won one mini-buyin/100 hand in the first 5 consective
sessions (hands are kinds of dry actually, just too many fishes). It is around/aft mid-night. Majority players are from EU/Aus. Lots of fishes.
However, I down two mini-buyin in last 2 additional sessions. |
|
n****e 发帖数: 135 | 21 I watched this tape once again and for twice in two
consective days.
I can still feel several impulses in the bottom of heart.
My moma said Life is like a box of chocholates, you'd never
know what you're gonna get.
Stupid is as stupid does.
When everything is done and the house is empty, I start to
think of Jenny.
I always sign the letters 'love, Forrest Gump'
You don't love me, because i'm not a smart man.
I never hurt you, i love you.
My name is Forrest, Forrest Gump.... |
|
s******e 发帖数: 493 | 22 It really depends on how often you want to do those operations and which
language.
If C/C++, or maybe any languages where array must be in a consective memory
space, as you said linked list will be faster on "+" operation. but random
access will be slow. I will vote for linked list if you must choose from two.
Or you can think from a different direction, like java, create a string
constant pool, and make string objects immutable. |
|
R*********i 发帖数: 7643 | 23 Do you want to flag the last day in consective days? |
|
s*******s 发帖数: 2369 | 24 other than vladdy, everybody's available for Howard,
of coz, if you want Jenks, who holds the active longest consective save
streak,
Morneau and Rollins are out of picture. |
|
s*******s 发帖数: 2369 | 25 8/8 so far, 8 consective hits,
是不是范大喜记录? |
|
s*******s 发帖数: 2369 | 26 姐夫健牌GIDP,streak中止了,
10 consective base hits |
|
s*******s 发帖数: 2369 | 27 哎,20 consective scoreless innings le |
|