Loading...
I viewed a Jupyter Notebook. The notebook had cells with different levels of a math problem. The question is related to probability distributions associated with LLM-decoding stopping time. Based on the results of the probability distributions, I had to design...
The interview focused on practical coding problem-solving and communication skills, not rote memorization. I was expected to know common data structures like arrays, lists, queues, maps, trees, and graphs, and when to use them, but not to implement complex dat...
In my phone screen, I was asked to design Slack. I based my design on Hello Interview's approach, first discussing Direct Messages (DMs) and then channels. I spent time explaining my use of Redis Pub/Sub, and it seemed the interviewer wasn't very familiar with...
In the coding round, I was asked to work with a toy language. The language included primitives (char, int, float), generics (like T1, T2), and tuples (containing primitives, generics, or other tuples). My tasks were: 1. Implement a Node class to represent prim...
The first round involved debugging a Transformer model with the following issues: - Position embedding initialization - Mask not set to -inf - Missing loss.backward() - Incorrect dimensions in the projection layer's nn.Linear module The follow-up involved KV c...
The coding question was about a virus, with about 4-5 sub-questions. The specifics weren't exactly the same as what I had seen before.
The problem required designing a persistent key-value store with specific serialization and restoration requirements. The coding question I got was: ``` // This is a provided API interface. interface Medium { /** * Saves a byte array to the storage medium (e.g...
Implement the `CreditSystem` class: - `CreditSystem()` Initializes the credit system. - `void grantCredit(String id, int amount, int startTime, int expirationTime)` Adds a new credit grant identified by id, with amount units. The credit is active in the interv...
## Preparation Tips & Key Takeaways ### What I Learned - I should have used SwiftUI instead of UIKit for the iOS coding challenge. - System design questions for chat applications are common and should be prepared for. ### Recommended Preparation #### Coding Pr...