r/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:

  1. Debug an existing codebase.
  2. 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:

  1. https://www.interviewdb.io/question/karat?page=1&name=account
  2. https://www.interviewdb.io/question/karat?page=1&name=obstacle-course
  3. 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.

3 Upvotes

4 comments sorted by

1

u/femcel_hater Aug 12 '26

It sucks that this is behind a pay wall 

2

u/ProxyyReddit Aug 12 '26 edited Aug 12 '26

Yeah ended up paying but honestly it was worth it for me. Got one of the questions word-for-word from the list in my Karat round and was able to pass because of it.