How do you derive CDF from a PDF? | Uber Interview Question