Tesla Interview Question

heap / stack related questions