Developer Questions Instructions: We would like this process to be interactive. We will share google doc as your answer sheet (if you have gmail account) or note taking but we would like to hear your answers from you! How does it work? We will give you 15 to 20 min to go over code. Then we will be back to discuss your answers.
Test 1. Coding [60 min]: If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total. If all the numbers from 1 to 1000 (one thousand) inclusive were written out in words, how many letters would be used? NOTE: Do not count spaces or hyphens. For example, 342 (three hundred and forty-two) contains 23 letters and 115 (one hundred and fifteen) contains 20 letters. The use of "and" when writing out numbers is in compliance with British usage.
Test 2. Code Review [30 min]: Please perform a code review for the python code provided in this repo. There is one django view and two unit tests files (they are not related). Please make comments to the code, what are the problems with that code and what changes/improvements can be made.
Test 3. Design [15 min]: Please help us design a RESTful system for the following models. How would you design URI, Method, Representation and Response for the following service descriptions Descriptions of Service 1. Retrieve the list of Person 2. Create a Person 3. Update a Person 4. Retrieve a Person 5. Retrieve the Phones of a Person 6. Deactivate Person 7. Register survey call with phone number
Test 4. Implementation (Lead Only) [30 min]: Please implement Application with given workflow: Product Owner gave us following workflow to process an Application. 1. Person (User) fills out job Application 2. Verifier (System) creates calendar event to schedule meeting with User 3. System posts the application to fake web service (web service will read application and supposed to return "approved" or "error" response) 4. fake web service may send a response (there is a possibility that we might not get response back due to network issue or web service system error) 5. After a time period, if no response, system sends email. How would you implement with Django application? note: each function doesn't have to have detail logic. It can be just matter of 'print "posting to web service"'
note: what we need from candidate: 1. github account so that we can share repo 2. gmail account so that we can share answer sheet alternatively