Post by Edoardo Ercelli

Iason | MSc Quantitative Finance

🎲 I turned a classic interview question into a complete #java project. "How many rolls to see all six faces of a fair dice?"   Answer: **14.7** (Coupon Collector problem). I built a Java library that: ✅ Calculates exact dice probabilities with Dynamic Programming   ✅ Handles biased dice (custom face probabilities)   ✅ Verifies theory with Monte Carlo simulation in #MATLAB  📊 The MATLAB script generates a 4‑in‑1 visualisation: histogram, convergence plot, boxplot, and CDF. 📂 #GitHub repo: https://lnkd.in/duBmX6Ft #Algorithms #quant #Probability #Coding #quantfinance #montecarlo

Post contentPost contentPost content