CodeGround
DashboardProblemsInterviewsAssessmentsCourses
CodeGround
DashboardProblemsInterviewsAssessmentsCourses
The Technical Interview Course

0 of 170 lessons complete

  • How to run these rounds
  • Round one
  • Round two
  • Stretch problem
  • Debrief: read your own results

Checkpoint: midpoint mock round

91 / 170

Checkpoint: midpoint mock round/Lesson 3 of 5·About 47 min

Round two

A merge warm-up, then a streaming statistic. 45 minutes.

Take a real break before this round. Two problems, 45 minutes, same rules. Both lean on Unit 9, and one of them has a much better answer than the first one you will think of.

Problem· 18 min

Warm-up: Flatten a Sorted Matrix

Each row is sorted and each column is sorted. Produce every value in one sorted sequence. Concatenating and sorting works; say what that costs before you decide whether to do it.

Problem· 27 min

Main: Running Medians

Report the median after every value arrives. Re-sorting on each arrival is the obvious approach; work out its total cost across the whole stream before you write it, then decide whether that is acceptable.

PreviousRound one
NextStretch problem

0 of 3 parts complete