@Prasanna C. I think generally speaking you'll see more appreciation on an existing house vs. condo because of land value.
I think HOAs can be rip offs, but not all HOAs are the same. I own two condos in Austin that have $210/month HOAs that I think are very reasonable considering what they cover including:
1) I only own studs in so HOA covers exterior paint, roof, etc... (my home owners insurance cost are much lower because of this)
2) Landscaping/yard maintenance
3) Pool
4) Gated Community
However, there are always risks of special assessments and HOAs going up. I think you have to look at it on a case by case basis. In my case, the condos are less maintenance from a property management stand point so I ultimately see it as a benefit. However, you are typically sacrificing appreciation and alternative investment options when buying a condo vs. a house on land you own (i.e. with a house you could build an ADU, or tear down the property at some point in the future, etc...)