InterviewLegend

JSON Query Engine & Table Lookups

Alex Chen45 min readGuide updated

Two GitHub coding tasks from 2026 ask the same thing of a table: which rows match, and what do they hold? A senior candidate in November 2026 sat a virtual panel of four rounds, and the first coding round was "a query feature similar to a relational database." The data came as a JSON dictionary. The follow-ups added WHERE, ORDER BY and similar clauses, and the other coding round in that loop was Battleship.

The second task is smaller. A March 2026 intern final paired one technical interview with a behavioral one, and the technical task was to a Premium question. Intern candidates in 2026 call their technical rounds easy to average. It's the senior job at intern size. You parse the rows, match one column and read another. The problems below start there and grow that code into the senior engine, one tested part at a time.

The parts below are something like what was asked. Wording changes from loop to loop, so agree on the details out loud before you code.

The GitHub angle
Agree on the data shape before you write a loop. In the November 2026 round the tables came as a JSON dictionary, and the rest is yours to settle. Ask how a row looks, what a missing value means and how a query arrives. Two minutes of questions saves rewriting the filter when WHERE lands.

GitHubPremium lesson · Coding round

The 4 GitHub problems are below.

  1. A Premium questionCoding · Easy
  2. A Premium questionCoding · Easy
  3. A Premium questionCoding · Medium

+ 1 more in this lesson

Each with hints, the follow-up and a tested solution.

Get the GitHub questions

$49 a year · all 122 companies · instant access

21,000+ candidate reports

GitHub interview guide

Know what GitHub asks before you walk in.

20 coding · 3 system design · 31 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your GitHub interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.