My Idea :If D = Distance between Two Upper L Block then there are two case
- If I make D larger that make the circle larger
- If I make D smaller that make the circle larger for upper 'v' block
So this properties make the graph of Distance like 'U' ( Unimodal ) That why I thinks it can be solve by Ternary Search where variable is D here . But don't figure out how to check is circle is larger or smaller when searching ? I checking I have calculate radius of circle for mid values , but how ?
Thanks in Advance !!