Advertisement
Guest User

Untitled

a guest
Feb 26th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. Start with empty array size n.
  2. On each trial, we set a value to a slot in a array (whose size is n).
  3. If the randomly chosen slot has a value already, it is collision.
  4.  
  5. t = number of trial to get collision.
  6. E[t]?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement