Frontend Engineer · Senior-Level · Phone Screen
I was asked to design a game where you control a small square to move forward, backward, left, and right. The small square is in a square area, and it cannot exceed the outer square's boundary.
I was asked to design a game where you control a small square to move forward, backward, left, and right. The small square is in a square area, and it cannot exceed the outer square's boundary.
Showing 881-890 of 1091 forum items
My onsite interview consisted of five rounds. **Round 1 (Front-end):** I was asked to design a clock that displays the current time (hh:mm:ss). This was a previously seen question on GreatFrontEnd. **Round 2 (Front-end):** I had to design a drag selection feat...
Common BQ: * What are your thoughts on potentially working in office? * You’re currently a software engineer at XXX — is that correct? * When did you depart from XXX? * What was the nature of your departure? * Were you a full-time employee or a contractor? * H...
I was asked to design a simplified browser history system with the following functionalities: * `visit(url: string)`: Visit a new URL, clearing all forward history. * `back(steps: int) -> string`: Move backward in history by up to `steps`, returning the curren...
I had a phone screen and an onsite interview. The phone screen included questions about generative AI and its applications to business messaging. I was asked to explain generative AI, describe how it could be applied to business messaging, and provide common u...
The online assessment consisted of two coding problems: 1. A straightforward merge intervals question. 2. Querying an API endpoint and finding the maximum value in the response.
The first question was a standard coding problem: Find the length of the longest bitonic subarray. Given an array of positive integers, find the length of the longest bitonic subarray. A bitonic subarray has an index `i` where the elements from the beginning t...
## Preparation Tips & Key Takeaways ### What I Learned - Need to be prepared for common algorithm questions. - System design questions require a broad understanding of different components. ### Recommended Preparation #### Coding Practice - Practice common tre...
## Preparation Tips & Key Takeaways ### What I Learned - API design is a crucial aspect of system design interviews. - It's important to clarify requirements thoroughly at the beginning of the interview. - Some interviewers may not be familiar with backtrackin...
First, I was asked about the CAP theorem. I needed to confirm that with Partition Tolerance (P), you can't have both Consistency (C) and Availability (A). Consistency means getting up-to-date data. Then, I was given a dynamic programming problem. I had to come...