LeetCode
Experience
·
May 2020
·
New York
Facebook | Phone | Count occurrences of a number in sorted array & Find the Celebrity
11 upvotes
4,779 views
5 replies
Interview Experience
Position: E5 Location: NYC I was asking following two questions Question 1: Find the number of occurrences of an element in a sorted array I told in linear search its very easy and told it...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Arrays
Binary Search
Sorting
More from Meta
Reddit
Leetcode is cooked in 2026 and we don't hire people who only grind leetcode.
Reddit
Returning to SWE work after 3 years of cancer treatment
Reddit
2026 New Grad Recap
Reddit
Most likely failed meta phone screen
Reddit
Targeting OpenAI SWE Roles? Insights on what to expect from recent system design loops