Pergunta de entrevista da empresa Wärtsilä

Q: Explain the stability of a submarine. Q: Coding question