Software Engineer • Senior-Level
Software Engineer • Senior-Level
High QualityInterview Summary
The Okta virtual onsite consisted of three rounds covering coding, system design, and a less conventional behavioral / learning exercise. The coding question was a CodeSignal-style banking system with a multithreading follow-up, while the system design round focused on ingesting and querying status data from millions of devices.
The final round unexpectedly tested how I learn an unfamiliar security topic in real time. I was asked to study JWT and JWKS using any tools I normally use, explain the concepts back to the interviewer, and then build and explain a JWT parser.
Interview Details
Round 1 — Coding: Simple Bank System
The coding problem was similar to LeetCode 2043 — Simple Bank System. The CodeSignal environment already provided the surrounding structure and test cases, so there was no need to design additional classes.
The required operations were
deposit(account, amount): Add funds to an account.withdraw(account, amount): Withdraw funds if the account exists and has sufficient balance.transfer(source, destination, amount): Move funds between two valid accounts when the source has enough money.
The main focus was correct business logic and edge-case handling. Typical cases included:
- Invalid account IDs
- Insufficient balance
- Invalid transfer destination
- Correctly updating both accounts during a transfer
The round also included two short behavioral questions.
Follow-Up — Make the Bank Thread-Safe
The interviewer then asked how the implementation should change if multiple threads could concurrently call deposit, withdraw, and transfer. The discussion focused on synchronization strategies and their trade-offs. Relevant questions included:
- Should there be one global lock or one lock per account?
- How can transfers safely lock two accounts?
- How do you avoid deadlocks when two transfers lock accounts in opposite order?
- What concurrency is lost by using coarse-grained
Unlock Full Details
Create a free account to unlock this interview experience report.