Meta | Phone Screen | Passed

Posted
7 Jun 2025
334 reads

Summary

This is an anonymous phone screen interview experience at Meta where the candidate passed. The interview included two main algorithmic questions: a variant of Random Pick with Weight and Valid Palindrome II with a follow-up to Valid Palindrome III.

How it went

Hey y'all, this ain't my experience but it's from anonymous. Hope it helps your studies!

Q1: LC528 Random Pick with Weight
Variant is with city populations. We kinda come to expect this at this point.

Q2: LC680 Valid Palindrome 2
Follow-up: LC1216 Valid Palindrome 3. I'm not certain if the person had to actually code it out. If I had to guess, it'd just be a verbal explanation. Please make sure you get the time complexity right.

---
P.S I don't know any information beyond this.

Questions asked (3)

  1. 01

    Random Pick with Weight (City Population Variant)

    Data Structures & Algorithms · Medium

    Implement randomPick(weights) where weights[i] represents the population of city i. The function should return the index of a randomly picked city, with its probability proportional to its population. This is a variant of LC528 Random Pick with Weight.

    Open the problem
  2. 02

    Valid Palindrome II

    Data Structures & Algorithms · Easy

    Given a string s, return true if the s can be a palindrome after deleting at most one character from it. (LC680 Valid Palindrome 2)

    Open the problem
  3. 03

    Valid Palindrome III

    Data Structures & Algorithms · Hard

    Given a string s and an integer k, return true if s is a k-palindrome. A string is k-palindrome if it can be transformed into a palindrome by deleting at most k characters from it. (LC1216 Valid Palindrome 3)

    Open the problem

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Meta recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!