Canonical interview question

heap vs stack and different memory overflow techniques