I am a S size before preg. It took me 8 mths to go back to my S size. I went swimming and some light exercise, took lesser rice to lose those baby fats.
For my 2nd child, I took 5 mths and I went back to shape. I took more veg, meat but less carbo (rice or noodles).