Level: Junior-Level
Round: Phone Screen · Type: Multiple Types · Difficulty: 5/10 · Duration: 60 min · Interviewer: Neutral
Topics: React, Algorithms, Behavioral Questions, Accessibility
Location: Seattle, WA, US
Interview date: 2025-12-01
Question: I was asked two general behavioral questions for about 15 minutes.
Question: Display 10 boxes in React, then handle scaling and accessibility for 100 boxes. Also, find the failure time from an array of logs using a linear time approach. I mentioned binary search but ran out of time to discuss edge cases.
The React question involved displaying 10 boxes on a page, each with a length and width of 100 pixels. I was instructed to use display: flex and flex-wrap to ensure proper wrapping.
Follow-up questions:
The algorithm question involved an array of logs, where each log contains a status and a timestamp. After a failure occurs, all subsequent logs are marked as failed. The task was to find the starting time of the failure.
I suggested iterating from the back, resulting in a linear time complexity. I briefly mentioned binary search but didn't have time to discuss constraints or edge cases.