Software Engineer

Case File: Which Commit Broke It

The nightly build broke, and hundreds of commits could be the cause. Each test takes ten minutes, so you cannot try them all. Write the binary search that git bisect uses, find the first bad commit in two histories, and prove that you used only a handful of tests: the checks count the number of times you call the probe.

50 min

Case File: Which Commit Broke It

The nightly build broke, and hundreds of commits could be the cause. Each test takes ten minutes, so you cannot try them all. Write the binary search that git bisect uses, find the first bad commit in two histories, and prove that you used only a handful of tests: the checks count the number of times you call the probe.

In this lesson:

  • git
  • bisect
  • binary search
  • debugging
  • algorithms
  • case-file

๐Ÿ”’ This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans