Meta Loop

Posted
9 May 2025
359 reads

Summary

I'm sharing the interview questions encountered during my Meta interview process, across multiple rounds.

How it went

Questions asked (4)

  1. 01

    Buildings With an Ocean View

    Data Structures & Algorithms

    Given an array of building heights, return a list of buildings that have an ocean view. A building has an ocean view if all buildings to its right are strictly shorter.

    Open the problem
  2. 02

    Variant of Remove All Adjacent Duplicates In String

    Data Structures & Algorithms

    A variation of the problem where you remove all adjacent duplicate characters from a string until no more duplicates can be removed.

    Open the problem
  3. 03

    Lowest Common Ancestor of a Binary Tree III

    Data Structures & Algorithms

    Find the lowest common ancestor of two given nodes in a binary tree where each node has a parent pointer.

    Open the problem
  4. 04

    Random Pick with Weight

    Data Structures & Algorithms

    Given an array of positive integers w, where w[i] describes the weight of index i, implement the function pickIndex which randomly picks an index in proportion to its weight.

    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!