MicroDegree interview question

difference between private and public subnet