Andy Interview Question

complete the code for a^b draw the database structure for twitter like software