I am a realtor in Virginia, so you may wish to consult with a local agent to verify my accuracy on the subject:
All will depend on your particular needs:
With a condo, you typically have no yard maintenance to be concerned with, any exterior items that need addressing would be covered by your condo fee and in some cases the condo fee includes your water consumption and your Hazard Insurance.
It is a great purchase for someone that doesn't have a lot of time on their hands for home maintenance. in many cases you will also find condo communities have a greater walkability score over other home types. I've referenced a site below to figure out how walkable your home of choice is.
With a townhome; great for a first time home buyer.
Single Family is great for a larger family and someone looking for more privacy. Additionally, some purchase single families out side of an HOA to avoid the dictatorship issues like parking of work vehicles, boats, RV's.
and avoiding approvals for fencing and additions, exterior color changes to their home. Also avoiding the fee for the HOA.
The flip side of no HOA is, depending on where you are looking; cars parked in the front yard, chickens in the yard; home not being maintained properly, so on and so on....