Answer: The boundary condition and the voltage for the entire sphere are in the explanation content.
Explanation: Conducting sphere of radius r is made up of two hemispherical shells
separated by a thin insulating ring. They are kept at different potentials, +V and –V
Please find the attached file for the solution