I think you should mention that u directly used the fact that it is a geometric distribution
Could you explain why the expected number of rolls needed is simply the inverse?
are these interview questions?
@sumansemwal4981