Meta phone screen follow-up

Posted
24 Apr 2025
325 reads

Summary

I had a phone screen follow-up at Meta, which involved two data structures and algorithms questions.

How it went

  1. Given a sorted array and an int k, return the index of first element greater than k.
  2. given a binary tree imagine yourself standing on left of tree and output a list of nodes that you see from bottom to top, then standing on right hand side of tree output the list of nodes you see from top to bottom

Questions asked (2)

  1. 01

    Find First Element Greater Than K in Sorted Array

    Data Structures & Algorithms

    Given a sorted array and an integer k, return the index of the first element greater than k.

  2. 02

    Binary Tree Left View (Bottom-Up) and Right View (Top-Down)

    Data Structures & Algorithms

    Given a binary tree, imagine yourself standing on the left side of the tree and output a list of nodes that you see from bottom to top. Then, standing on the right-hand side of the tree, output the list of nodes you see from top to bottom.

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!