Leora had some money in her wallet. She spent $18.62 buying groceries and had $43.55 left. How much money did she have in her wallet before she bought the groceries?

$24.93
$35.93
$45.41
$62.17

Let x be the amount of money Leora had in her wallet before she bought the groceries.

After buying the groceries, Leora had x - 18.62 dollars left.
We set up an equation: x - 18.62 = 43.55
Adding 18.62 to both sides, we get x = 43.55 + 18.62 = 62.17 dollars.
Therefore, Leora had $62.17 in her wallet before she bought the groceries. Answer: \boxed{62.17}.