Trump lawyers were able to compile the list because Mueller or someone on his team read them over the phone to Trump’s lawyers.
From the story, "...four dozen questions compiled by Trumps lawyers during negotiations with Muellers investigators earlier this year over the prospect of a presidential interview."