META | Phone Screening
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-03-17Added By Anonymous
Source: Link
Company: Meta
Role: unknown
Interview Stage: Phone Screen
Location: unknown
Year: unknown
Original Post Content:
Question 1 -
The problem was a version of - subarray sum equals k
Problem - Given an array, return true or false if the subarray with sum equal to target exists.
Follow-up 1 - Given an array, return the length of subarray where the subarray sum equals target.
Follow-up 2 - Given a matrix, return true or false if there exists a rectangle with sum equal to target. (Just asked the approach for this one)
Question 2 -
Exact problem - LCA 3