Is it allowed for a woman to offer namaz in a park or a garden where other people may see her?

There is no problem in praying in the park. You only need to observe your full hijab during prayers