meta logo
Meta· E4 Infra

Meta Phone Screen Interview

Posted
5 Apr 2025
336 reads

Summary

I had a phone screen interview at Meta for an E4 Infra role, which included a LeetCode problem and a custom problem about finding the minimum cost for a round trip between two cities with time-sequenced flight costs.

How it went

Appeared for Meta E4 Infra phone screen interview this week.

Questions:

  1. Valid Word Abbreviation
  2. Written Below:

Plan a round trip between 2 cities with minimum flight cost From departure city to destination city, the fees are stored in array D[] From destination city to departure city, the fees are stored in array R[]

D: [10, 8, 9, 11, 7] R: [8, 8, 10, 7, 9]

The minimum cost will be D[1] + R[3] = 15

EDIT: Yes, lists are time sequenced, according to my interviewer. Meaning, D[0] corresponds to Day #1, then Day[1] corresponds to Day #2, etc. And, the return trip can NOT be taken BEFORE the 1st trip. However, the return trip CAN be taken on the same day as the 1st trip.

Questions asked (2)

  1. 01

    Valid Word Abbreviation

    Data Structures & Algorithms · Medium

    Given a word and an abbreviation, determine if the word matches the abbreviation. An abbreviation can be formed by replacing a non-empty substring of a word with its length.

    Open the problem
  2. 02

    Minimum Round Trip Flight Cost

    Data Structures & Algorithms · Medium

    Plan a round trip between two cities with minimum flight cost. From departure city to destination city, fees are stored in array D[]. From destination city to departure city, fees are stored in array R[]. Both D and R arrays are time-sequenced, where D[0] corresponds to Day #1, D[1] to Day #2, etc. The return trip cannot be taken before the first trip, but can be taken on the same day. Example: D: [10, 8, 9, 11, 7], R: [8, 8, 10, 7, 9]. The minimum cost will be D[1] + R[3] = 15.

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!