Lightspeed Interview Question

Create a solution to calculate the below: - mean - median - mode