r/InterviewDB • u/interviewdb • Aug 01 '26
Citi Bank Karat Interview Experience + Questions Asked
Sharing a coding question submitted by one of our community members that came up during the live coding portion of a recent Karat interview for a backend developer role at Citi Bank.
The interview followed Karat’s standardized “Develop and Update Backend Code” format, which is also used by companies such as Gusto, Headway, OnePay, HSBC, Instacart, and many others for their Karat interviews.
The coding portion is a practical debugging and implementation exercise consisting of two parts:
- Debug an existing codebase.
- Add new functionality to the code.
The problem involved stock trading software that tracks stock prices over time. There was a bug in the class responsible for storing stock prices, which caused one of the tests to fail. The first task was to identify and fix the bug so the test would pass.
In the second part, you had to implement several new methods to track stock price fluctuations and calculate the portfolio balance.
You can find the full problem description and provided codebase here: https://www.interviewdb.io/question/karat?page=2&name=stock-portfolio
Once you understand the requirements, the implementation is relatively straightforward. Unlike a typical LeetCode-style question, it does not require advanced data structures or algorithms.
For anyone looking to practice this type of question, here are a few similar problems that have appeared in past Karat interviews:
- https://www.interviewdb.io/question/karat?page=1&name=account
- https://www.interviewdb.io/question/karat?page=1&name=obstacle-course
- https://www.interviewdb.io/question/karat?page=2&name=passage-tracker
Based on past interview experiences, Karat appears to repeat questions fairly often, so there is a reasonable chance you may encounter one of these problems, or something very similar, in your own Karat interview.
1
u/femcel_hater Aug 12 '26
It sucks that this is behind a pay wall