Meta phone screen 45 mins
- Posted
- 31 May 2025
Summary
I had a 45-minute phone screen with Meta, where I was asked two specific data structures and algorithms problems.
How it went
Meta Phone Screen Questions (2025)
Question 1: Insert a value into a sorted circular linked list and return the newly inserted node. ➤ Similar LeetCode: 708. Insert into a Sorted Circular Linked List
Question 2: Given a binary tree node, return True if every node’s value is equal to the floor of the average of its descendants (excluding itself). ➤ Similar LeetCode: 2265. Count Nodes Equal to Average of Subtree (Note: The original LC question counts such nodes; this variation checks that all nodes satisfy the condition.)
Questions asked (2)
- 01
Insert into Sorted Circular Linked List
Data Structures & Algorithms
Open the problemInsert a value into a sorted circular linked list and return the newly inserted node.
- 02
Check Nodes Equal to Average of Descendants
Data Structures & Algorithms
Open the problemGiven a binary tree node, return True if every node’s value is equal to the floor of the average of its descendants (excluding itself). (Note: The original LC question counts such nodes; this variation checks that all nodes satisfy the condition.)