Staff Engineer Interview Questions

5,880 staff engineer interview questions shared by candidates

Beyond Bets is a new venture from BeyondTrust to track metrics for sports betting markets. The current codebase works, but the rapid increase in feature requests has left the code in significant need of refactoring. WITHOUT breaking any backwards compatability please add the following new features. It is highly recommended that you improve the codebase as you implement your features. The PlayerDaily and MarketHourly transforms have been very popular. Analysts now are requesting PlayerHourly, MarketDaily, and PlayerMarketDaily transforms. Management wants to start a new VIP program for our biggest bettors. Implement TopPlayers, which will return the top 1% of all players by total spend in the past week. Finance wants to know if the market conditions are changing drastically. Implement BetGrader, which will grade each bet relative to all bets within the same market in the last 15 minutes. For example, if a bet for $15 was placed in market A at 1:15pm, and the average bet size in market A between 1:00 and 1:15 was $10 then the grade for this bet would be $15/$10. Remember the goal is NOT to perfect the codebase. The goal is to implement the requested features while making some improvements. Please note, in a real data warehouse the data would sit in physical tables. In order to not write a bunch of junk to your hard drive the datasets are randomly generated. Lastly, all logic needs to be contained within the beyond_bets package itself. Any code in the examples directory is just to demonstrate how the code might be used.
avatar

Staff Data Engineer

Interviewed at BeyondTrust

4
Nov 5, 2024

Beyond Bets is a new venture from BeyondTrust to track metrics for sports betting markets. The current codebase works, but the rapid increase in feature requests has left the code in significant need of refactoring. WITHOUT breaking any backwards compatability please add the following new features. It is highly recommended that you improve the codebase as you implement your features. The PlayerDaily and MarketHourly transforms have been very popular. Analysts now are requesting PlayerHourly, MarketDaily, and PlayerMarketDaily transforms. Management wants to start a new VIP program for our biggest bettors. Implement TopPlayers, which will return the top 1% of all players by total spend in the past week. Finance wants to know if the market conditions are changing drastically. Implement BetGrader, which will grade each bet relative to all bets within the same market in the last 15 minutes. For example, if a bet for $15 was placed in market A at 1:15pm, and the average bet size in market A between 1:00 and 1:15 was $10 then the grade for this bet would be $15/$10. Remember the goal is NOT to perfect the codebase. The goal is to implement the requested features while making some improvements. Please note, in a real data warehouse the data would sit in physical tables. In order to not write a bunch of junk to your hard drive the datasets are randomly generated. Lastly, all logic needs to be contained within the beyond_bets package itself. Any code in the examples directory is just to demonstrate how the code might be used.

Viewing 5381 - 5390 interview questions

Glassdoor has 5,880 interview questions and reports from Staff engineer interviews. Prepare for your interview. Get hired. Love your job.