- What is the probability that exist k such that A[k] = k?
- What is the probability the A is still sorted?
CrunchWeek: Yahoo's $1.1B Tumblr Purchase, Lyft's Big Raise, And
Microsoft's Xbox One
-
[image: tumblr-yahoo] It’s that time of the week for CrunchWeek, the show
where a few of us writers chat up the most interesting stories from the
past seve...
50 minutes ago
The question of P( s[k]==k for some k) surprisingly comes up all the time in hash tables and sorting. It's a surprising result to most people that the probability converges to a nice value (1-1/e) and doesn't depend much on the size of the population. It's sort of like the Birthday paradox in its "really!??" counter-intuitiveness.
ReplyDelete