Machine Learning Engineer · Mid-Level · Onsite
The coding question was Leetcode 758. The interviewer was very friendly and easy to talk to, but I was rejected the next day.
### Round 1: Behavioral (BQ) I was asked standard behavioral questions about conflict resolution, challenges, and how I handle failures. ### Round 2: Coding with AI The coding question was a variation of the Meeting Scheduler problem in an object-oriented desi...
I was asked to parse a CSV file into a list of row objects (dictionaries), where column headers are keys. Values enclosed in double quotes should be treated as strings, while unquoted numeric values should be parsed as integers. I had to implement query functi...
During my onsite interview, I had a coding round. I was asked to sort a DNA sequence by its starting and ending sequences. Given a list of tuples like: ``` [ (start = "bbb", end = "ccc", payload="1"), (start = "aaa", end = "bbb", payload="2"), (start = "ccc",...
I was asked about top-p, top-k, greedy search, and beam search. Then, I had to implement greedy search and beam search in Python. Beam search was a bit tricky, and there are many areas for potential improvement regarding time and space complexity. I was given...
In my phone interview, I was asked about the architecture of recommender systems. I was also asked about the classic nearby location recommendation scenario. Key topics included: * **Core Four-Stage Framework:** * Retrieval/Candidate Generation: Two-Tower mode...
The interview process felt unnecessarily long and tedious. **Phone Screen:** The coding question was a layer-related question, asking about undo, batch, and redo functionalities. **Onsite:** * Coding: I was given a variation of the Leetcode Number of Islands p...
After being contacted by a recruiter a year and a half after my previous interview, I decided to interview. I prepared over a weekend. The recruiter scheduled a phone screen for the following week, and after passing, scheduled the virtual onsite for two weeks...
During my phone screen, I was asked to find the index of the first word containing a given prefix from an array of strings. For example, given the input `['a', 'apple', 'appz', 'b']` and the prefix `'ap'`, the expected output would be `1` because `'apple'` is...
I was asked to implement a system for a game with n rooms (numbered 0 to n-1) and m people (numbered 0 to m-1). Everyone starts in room 1 and moves to the next room upon answering a question correctly. I needed to implement the following functions: 1. `vector<...