Citi interview question

If given a string, how would you reserve it?