LeetCode Experience · Mar 2020 · USA

Facebook | Phone | Search in a sorted matrix with duplicates

3 upvotes 1,762 views 6 replies

Interview Experience

Hi, I just had an interview with Facebook. Question: expect that i had to return the coordinate. <details> <summary>My solution</summary> javascript var searchMatrix = function(matrix, target) { if (!matrix || matrix.length === 0) return...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays Binary Search Graph Matrix