Derive expected inversions and mean distribution | Hudson Interview Question