Meta Interview Experience
Network Round Screening:
Round Result: Pass
Coding Screen:
Invalid Parentheses Given a string such as (ap[), determine if the string has valid parentheses. Example 1: ()ap[] - Answer: Valid Example 2: Pa([]) - Answer: Invalid Example 3: (([])} - Answer: Invalid Answer: Use a stack.
Dinosaur Question Given two CSV files, each with two properties as columns and one column as the dinosaur name, print the five fastest dinosaurs. Speed is calculated using a formula that incorporates all four properties.
Round Result: Pass
Final Stage:
Round Result: Pass
Network (a) What are the physical components of a router? (I struggled here but should have mentioned buffers and NIC cards.) (b) In-depth discussion of TCP components and follow-up questions. (Pass) (c) When a packet is sent from A to B, describe all headers at each layer. The interviewer even asked about HTTP headers, which I was not prepared for. Follow-up: Which header values would change when host B receives the packet? Answer: The IP checksum in layer 4 and the destination MAC address in layer 2 would change. (d) BGP: How does BGP internal peering prevent loops? (Fail) (e) How would you troubleshoot a slow network and what tools would you use when sending data from host A to B over the internet? (Fail) Overall Round Result: Fail
Coding (a) Determine if a string is a palindrome. (b) Given a file containing messages with multiple lines, each ending with a newline character and '%', print a random message ensuring equal probability among different messages. You can use built-in random functions. Follow-up questions focused on space complexity (O(1)) and handling the case where you can only read a certain number of characters at a time. The final follow-up question involved using a hashmap with the index as the key and the seek byte stream as the value.
Round Result: Pass
Round Result: Fail
Overall Result: Fail