Given a value aValue, returns a boolean telling if the value is effectively a perfect binary tree, i.e all its leaves are at the same depth (cf. the Wikipedia page for the binary tree).
aValue
the value considered
Given a value
aValue
, returns a boolean telling if the value is effectively a perfect binary tree, i.e all its leaves are at the same depth (cf. the Wikipedia page for the binary tree).