Facebook Phone Screen

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2021-04-29Added By Anonymous
Source: Link

Company: Meta (Facebook)
Role: Production Engineer
Interview Stage: Phone Screen
Location: unknown
Year: unknown

Original Post Content:

Position: Production Engineer

Q1. If you had a program to play the Battleship game, and you had the method "fireBomb()" that took coordinates on a square matrix of any size, implement an algorithm that has to use the "fireBomb()" method the least amount of times to destroy a battleship.

Q2. Print Fastest To Slowest Dinosaurs from CSV

If anyone has LeetCode links or optimal solutions, please share :)

Comments