Debug and extend a REST API with AI assistance

Last updated: June 17, 2026

Quick Overview

You are given a multi-file Node.js REST API with several bugs and a feature request. Using AI coding tools, identify and fix the bugs, then implement the new feature. Meta evaluates your ability to verify AI-generated code, not just prompt it.

Meta
Software Engineering Fundamentals
Software Engineer
Meta
June 17, 2026
Software Engineer
Onsite
Software Engineering Fundamentals
Medium

228

0

393 solved


You are given a multi-file Node.js REST API with several bugs and a feature request. Using AI coding tools, identify and fix the bugs, then implement the new feature. Meta evaluates your ability to verify AI-generated code, not just prompt it.

How to Approach This
  1. Apply SOLID principles. Single Responsibility makes code testable, Open/Closed makes it extensible.
  2. Choose data structures based on access patterns, not familiarity.
  3. Prefer immutable data and message passing over shared mutable state for concurrency.
  4. Design APIs with RESTful conventions, versioning, meaningful errors, and pagination from day one.
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems

Submit Your Answer
Markdown supported

Related Questions