Calculate Expected Links and Conditional Probability for Users | Coinbase Interview Question