At the end you use Git bisect

People rant about having to learn algorithmic questions for interviews. I get it — interview system is broken, but you ought to learn binary search at least. Anyways, yet again I came across a real life application of Algorithms. This time in the OG tool git. git bisect – Use binary search to find the commit that introduced a bug ref. And Leetcode wanted you to know it First Bad Version We use a monorepo at work. And people tend to make hundreds, if not thousands, commit in a single repo a day. On this day, our tests started failing, and the logs weren’t enough to debug or trace the root cause. The failing method depended on a configuration file that made a remote call using a specific role to obtain a token for running the tests. At some point, that configuration had been changed…

Read more on Hacker News