LeetCode
Question
·
Nov 2023
·
Los Angeles
META | Random pick index & Subarray sum K
1 upvote
971 views
7 replies
Question Details
Q1. Variation of Given stream of integers which can have duplicates. return random index of largest number eg: 1, 1, 9, 2, 3, 9, 9 probabilty of 9 to...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Arrays
Sliding Window
Two Pointers
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