Preheat the oven to 375℉. Spray a 9x13-inch baking dish with cooking spray. Set aside.
Place the cubed sweet potatoes into a large pot and cover the potatoes with cold water (fill the water about 1" above the potatoes). Bring to a boil over high heat, then reduce the heat to medium and simmer for 20-25 minutes, or until the sweet potatoes are very softened and fork-tender.
4 pounds sweet potatoes
Drain the potatoes in a colander and return the sweet potatoes to the pot. Add the butter, milk, cinnamon, nutmeg, and salt. Mash the potatoes with a potato masher or an electric hand mixer (I prefer using a mixer as it gets the potatoes smoother) until they're smooth and creamy.
1/2 cup (1 stick) butter, 1/2 cup whole milk, 1 teaspoon ground cinnamon, 1 teaspoon ground nutmeg, ¼ teaspoon kosher salt
Transfer the mashed sweet potatoes to the prepared baking dish, spreading them out evenly. Set aside.
In a large mixing bowl, beat the egg whites and cream of tartar with an electric mixer on medium-high speed until soft peaks are formed.
4 large egg whites, ¼ teaspoon cream of tartar
Gradually add the sugar, 1 tablespoon at a time, while continuing to beat the egg whites on medium-high speed until stiff, glossy peaks form.
1/2 cup granulated sugar
Spread the meringue evenly over the mashed sweet potatoes in the baking dish, making sure to seal the edges to the baking dish with the meringue. Use the back of a dinner spoon to create decorative swirls and peaks in the meringue.
Bake for 10-15 minutes or until the meringue is lightly golden brown. Watch carefully towards the end of the cook time to prevent burning.
Remove the casserole from the oven and let it stand for 5-10 minutes before serving.