MathWorks interview question

Basic question that used binary search

Interview Answer

Anonymous

Dec 2, 2024

I was able to solve it using brute force, but didn't get the time to solve it using binary search.