LeetCode[#278]| First Bad Version | Explanation

Recently I have been taking part in the May LeetCode Challenge. And decided to come up with solutions of all the problems I solve and the thought process behind it.
Some of the problems might be easy and others quite unintuitive, nevertheless…