Before you start preparing the mixture, set the oven to 350°F.
First, you will prepare the sweet potato mixture. Peel the sweet potatoes and cut them into small cubes. Take a saucepan, add some water, and let it boil. Transfer the sweet potato cubes to it and cook for about 15 minutes.
Once they are tender, drain the water and dish out the sweet potatoes in a large bowl.
Mash the sweet potatoes, add the eggs, and mix well.
Add white sugar, butter, milk, and vanilla extract and stir until the mixture is well combined. Transfer the mixture to a baking pan.
For the pecan topping, take a bowl, and add brown sugar and all-purpose flour. Add the butter and mix until a thick and coarse texture is achieved.
Add the diced pecans and mix well.
Now sprinkle this pecan topping over the sweet potato mixture.
Shift the pan into the oven and bake for about 30 minutes until the top surface is slightly brown.
Your sweet potato casserole is done; enjoy it with a scoop of vanilla!