Bloomberg interview question

1. database design 2. atoi()