Loading...
Showing 1-10 of 20 forum items
The problem involved a 2D array representing different factories. Each row represented a factory type, and each element within a row represented an individual factory of that type. Each element contained two values: the distance from the origin and the cost of...
### Chat billing calculation You are building a billing component for a chat-based AI platform that charges users based on token usage. Each chat session generates a record containing: user_id, input_tokens, output_tokens, plan You are given a list of chat ses...
I interviewed for a Senior SDE role at Stripe and was rejected two weeks after the virtual onsite. **Phone Screen:** The phone screen involved a classic dataset validation problem. The prompt was very long, and I almost ran out of time to read it. Thankfully,...
**Prompt:** The interview was a 4-part progressive coding challenge. Part 1: Parse a raw CSV string into structured transaction objects. Each row represented a transaction with fields like ID, amount, merchant, etc. Had to handle leading and trailing whitespac...
I had a phone screen where I was asked two coding questions: **Question 1: Minimize Multi-Person Debt Settlement** The problem was to find the minimum number of transactions to settle debts among a group of people, given multiple loan records, ensuring everyon...
This was my interview experience at Stripe. **Coding:** 1. Print a letter, which requires replacing `*` and `&` with `0` and `1` using the `replace` function. 2. Print a long sentence, which needs to be truncated at a fixed length, such as 72 characters. If it...
Here's my interview experience: **Timeline:** - October 7: Received coding assessment invitation. - October 23: Received interview invitation. - After this, I had four phone interviews that were canceled. - November 18: Finally completed the phone screen. - De...
I had to implement a function that simulates how a load balancer routes websocket connections to multiple Jupyter servers. The function receives a sequence of textual requests and decides which target server each connection should go to while maintaining inter...