Foursquare interview question

malloc vs. new