Whether or not public holidays count toward the notice period will depend on the specific details of your employment contract and the laws in your country or region.
In some cases, public holidays may be included in the notice period, while in other cases, they may not be counted.
If you're unsure whether public holidays count toward your notice period, it's best to speak with your employer or check your employment contract to clarify.
You may also want to consult with an employment lawyer or a government agency that deals with labor laws, such as the Department of Labor in the United States.
In general, it's important to carefully review your employment contract and to understand your obligations and rights when it comes to giving notice of resignation.
This can help you to avoid any misunderstandings or disputes, and to ensure that you give the appropriate amount of notice to your employer.