Meta phone screen follow-up

meta logo
meta
April 24, 20252 reads

Summary

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

Full Experience

  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

Interview Questions (2)

Q1
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.

Q2
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.

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

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