Pergunta de entrevista da empresa Cognizant

They asked me to find pressures inside different balls using coding

Resposta da entrevista

Sigiloso

23 de fev. de 2021

I answered the question by resorting to inheritance methods, wherein I can make a main class with the dimensions and inherited classes that require us to use a specific formula to find the pressure according to the shape of the ball