I am wondering which following sentences does not sound idiomatic? (To me they all mean the same thing. If there is any nuance, then please let me know.)
1.a. Thank you for taking the time "helping me".
1.b. Thank you for taking the time "to help me".
2.a. Thank you for putting in the time "helping me."
2.b. Thank you for putting in the time "to help me."
P.S. My old thread is unable to answer this question.