Free Boundary Problems in PDEs and Particle Systems