Define a person's Family IQ Score as
F
a
m
i
l
y
I
Q
=
0.5
⋅
I
Q
+
0.5
⋅
R
e
l
a
t
i
v
e
s
I
Q
Family IQ = 0.5 \cdot IQ + 0.5 \cdot Relatives IQ
FamilyIQ=0.5⋅IQ+0.5⋅RelativesIQ
where
R
e
l
a
t
i
v
e
s
I
Q
Relatives IQ
RelativesIQ is the average IQ score of that person's parents, full siblings, and children.
Given a dataset of people and their IQ scores, determine who has the highest
F
a
m
i
l
y
I
Q
Family IQ
FamilyIQ.
A full sibling of a person is someone who shares the same mom and dad.
Solution¶
This content is gated
Subscribe to one of the products below to gain access