Build a REST API web application with a fully functional front end and back end; submit within 3 days via a public GitHub repo.
Asked in the Pre-screen take-home (2021) stage. Called "Full stack candidate testing" assignment; given to backend applicant before any recruiter call.
For grading, implement build_rest_api_application(requests). The input is an array of request maps, processed in order. Each request has method, path, and an optional body map. Return an array of response maps with status and body. Support GET /api/tasks, POST /api/tasks with a non-empty title, and 404 responses for unsupported routes. Task identifiers start at 1 and increase sequentially.
def build_rest_api_application(requests):