For 2024
- Simple simulation
- Mathematical Coding with Text Splits + Variable Length Suffix
- Mathematical Coding with finding triplets
- Mathematically splitting arrays
- Determining the Stock Performance Score from a Continuous Stream of Trades.
- Creating a Buy-Sell Ladder from a Continuous Stream of Trades.
- Determining to Buy or Pass a Stock Bundle, given the market prices.
- Find the Largest Common Divisor with Minimum Increments
- Anagram Difference
- Mathematic Programming
- Find the longest consecutive elements after element deletions
- Minimum number of machines required to finish the task, given start times and end times (Sort by start time, then use end time min heap)
- Minimize ∑i=1len(arr)−1(arri−arri−1)2 (Find the max gap and then insert the avg in between)
- Sliding window (but both in traded stock count and trade history count) Stock price average finder
- Linear Regression (Scikit)
- Sliding Window
- Given a sequence of moving commands, is there a loop?
- Retain N logs.
recordLog(self, logId, timestamp)
, getLogs (self)
, getLogCount (self)
Simulations, sliding window
- Calculate stock price, given dividend payout on specific dates. Dividend payouts are editable. Simulations
- The maximum minimum element after k decrements. Optimized Simulations
- Construct a graph and traverse it to find the MaxBeauty, where Beauty for node k is ∑i=0Ndistance(i,k)×value(k)
- Find max increasing subarray, but in two arrays
- Chess Move BFS
- Let's make a storage ownership system
- Count N largest files
- Make it support many users (each has its storage limit), including
root
- Cloud Backup & Restore
For 2023
- 1 multiple map problem (simple data analysis & processing)
- 1 path reduction problem (didn't have enough time)
- 10 multiple choice questions
- required a deep understanding of C++ recent specs
- 1 Greedy Algorithm palindrome substring search
- 1 adjacency list construction and tree search.
- Time limit was stringent, and I wasn't able to finish it
- 1 Optimized Simulations using bitwise operations
- Time limit was stringent, and I wasn't able to finish it
For 2022
Coinbase
Goldman Sachs
Sezzle
Twitch