Wells Fargo interview question

How do you use Monte Carlo method to derive density?