Simplest method:
Start from end
at end she was having 1 rupee
so money left after 3rd charity= 3+1=4 which is half of 8
money left after2nd charity =8+2=10 which is half of 20
money left after 1st charity =20+1=21 which is half of 42.
So, initially she was having 42 rupees.