Jobra
🐞Step 1 of Jobra:AI Debugging Rounds
DSA+AIPreparing you for both.
JOBRA · AI DEBUG ROUND (PREVIEW)sum.cpp
// buggy snippet
int total(vector<int>& a, int n) {
    int sum = 0;
    for (int i = 0; i <= n; i++) { // 🐞        sum += a[i];
    }
    return sum;
}
A real codebase. A real bug. You + AI.

Jobra drops you into a broken repo. Find it, fix it, ship it. AI helps you debug like on the job.

Prompt:Correct the loop condition
Tap 'Let Jobra fix it' below to simulate AI debugging...
All challenges
Full stack·Medium

Notes app can't save, loses titles and lies about pins

An Express and React notes app breaks the API contract, wipes fields on pin, sorts at random and keeps failed pins on screen.

NOTES-231Notes app regressions after the API refactor

Reported by QA:

  • Saving a new note always fails with "Could not save the note."
  • After pinning a note and refreshing the page, its title and text are gone.
  • The list is supposed to show the most recently updated notes first, but it doesn't.
  • With the API down, pinning a note shows an error, yet the note still appears under Pinned until the page is reloaded.

The API contract is in README.md, and the tests in tests/ describe the expected behaviour on both sides. Fix the app so that all of them pass.

More challenges