Throne of Glass by Sarah J. Maas

Stephanie says:
Pulled from the hard labor of the salt mines, assassin Celaena is given an opportunity to pay for her crimes in another way—a competition. All she has to do is win and vow to serve as the King’s Assassin for two years, then the freedom she has dreamed of can be hers.