Interview Guides

You are offered a game where you roll a fair six-sided die. You can either take the dollar amount of the roll, or pay $1 to roll again, up to a maximum of three rolls total. What is your optimal strategy, and what is the expected value of this game?