We can find an acute triangle with the three altitude lengths 1, 2, and h, if and only if h^2 belongs to interval (p,q). Find (p,q).
See Melody's link and heureka's excellent answer, here :
wheres the link.