Pergunta de entrevista da empresa ConsLeague

Explain with and without sharing.