Pagini recente » Diferente pentru blog/concurent-pb-1 intre reviziile 7 si 1 | Diferente pentru blog/interviu-two-tap intre reviziile 6 si 7 | Atasamentele paginii Profil MMMM | Diferente pentru blog/f11-competition-2011 intre reviziile 9 si 8 | Diferente pentru blog/probability-shortlist intre reviziile 18 si 19
Nu exista diferente intre titluri.
Diferente intre continut:
# (Reservoir sampling) Given a stream of integers build an algorithm that returns a uniform random sample of size k using O(k) memory.
# (Coupon collector’s problem) Suppose a kid wants to collect all the cartoon characters in a kinder surprise series. Given that there are n different characters in total and they are distributed uniformly random.
# (Balls and bins problem) m balls are thrown into n bins. Each ball has 1/n probability of falling into each bin. What’s the expected number of empty bins?
# What’s the expected number of times line 4 is executed if p is a uniform random permutation of numbers 1 to n.
# What’s the expected number of times line 4 is executed if p is a random permutation of numbers 1 to n.
==code(python) |
min = p[0]
Nu exista diferente intre securitate.
Topicul de forum nu a fost schimbat.