InterviewLegend

The Citi Karat Interview

Alex Chen40 min readGuide updated 60 real interview reports
In this lesson
  • Know how the Karat hour splits between intro, knowledge questions and coding
  • Answer the Java, Python and Angular knowledge questions in a sentence or two
  • Fix a small codebase against failing tests without touching the tests
  • Spot the other formats that fill the coding slot, from snippets to multi-part builds
  • Budget the hour so you finish every part

If you've applied for a developer role at Citi as an experienced hire, there's a good chance your first technical round isn't with Citi at all. It's with Karat, a company that runs technical interviews for other employers. Citi is on Karat's customer list, and in 2026 the Karat round turns up in Citi loops from Mississauga, Toronto, Irving, Plano and Rutherford to London, Dublin, Warsaw, Singapore, Pune and Chennai.

Karat first turned up in Citi loops in October 2024. Through 2025 it spread, and by 2026 it was the most common first technical round for experienced developers. One AVP candidate in Mississauga said in October 2026 that they had "Heard that all the developer roles will have to go via Karat process." That isn't official, but it's the direction things have moved.

The Citi angle
The Citi Karat round is an hour of reading other people's code. Most of the time goes to a small project with failing unit tests. Fixing a bug and adding two methods is easy. Doing both, cleanly, with ten minutes of knowledge questions already gone, is where people fall short.

How the Citi Karat interview runs

Karat's own candidate page describes the hour in three parts: a short intro, about 10 minutes of discussion questions and about 40 minutes of programming. It also says Karat sends the video recording to the recruiter. Citi candidates describe the same split, give or take a few minutes. A senior engineer in Pune put it most precisely in August 2026: 2 minutes of introduction, 3 on a project, 15 on Java fundamentals and then 40 on coding.

  • Intro: About 5 min. Who you are and a short summary of one project you worked on.
  • Knowledge questions: 10 to 15 min. Quick questions on the stack in the job post. A sentence or two per answer.
  • Coding: 30 to 40 min. Usually a small codebase with failing unit tests. Fix the bug, then fill in the TODOs.
  • Afterwards: A few days. The recording goes to the recruiter. A 2026 AVP candidate heard back "After a few days".

The interviewer works for Karat and follows a set script, so expect little small talk and not much help. "In short, it's Karat exam," as one Mississauga candidate put it in November 2026. The round is watched live, and candidates describe "an IDE provided" and "An invigilator" who monitors the whole session.

Citi Karat interview questions for Java developers

The knowledge segment comes first and it's quick. It has opened nearly every Karat hour right up to November 2026. The questions follow the job post, so a Java role gets Java. Expect five or so in about 10 minutes, and keep each answer to a sentence or two. A London candidate in July 2026 said the .NET and networking questions "need to answer with 1 sentence."

Core Java and the JVM

4 questions

The most repeated topics in 2026 Citi Karat rounds. Each answer below is about the length the round wants.

Explain equals vs hashCode.

Asked in Pune in August 2026, and on the list a Dublin recruiter gave in October 2026. equals decides whether two objects hold the same value, and hashCode picks the bucket in a HashMap or HashSet. Override both together, because two equal objects with different hash codes land in different buckets and the set keeps both.

Please explain the Java heap memory.

Word for word from Singapore, July 2026. Objects live on the heap, shared by every thread, while each thread keeps its own stack of method frames and local variables. The garbage collector frees heap objects once nothing reachable points to them.

What does final mean?

Part of a UK round in July 2026 that also covered data structures and exceptions. On a variable it allows one assignment, on a method it blocks overriding, and on a class it blocks subclassing. A final reference can still point to an object whose fields change.

What is the difference between dependency injection and inversion of control?

DI vs IoC came up in Pune in June 2026 and was on the Dublin recruiter's list. Inversion of control is the principle that a framework creates and wires your objects. Dependency injection is how Spring usually does it, handing a class its dependencies through the constructor.

Newer Java and design

3 questions

A contract-role Karat screen in November 2026 started with enums and Stream.toList vs Collectors.toList. Design patterns and SOLID come up too.

Stream.toList() vs Collectors.toList()

Stream.toList(), added in Java 16, returns an unmodifiable list. Collectors.toList() promises nothing about mutability and in practice hands back an ArrayList you can change.

When would you use an enum?

For a fixed set of states, like an order status. An enum gives you type safety, works in a switch, and can carry fields and methods of its own.

What is wrong with this class?

A Pune senior Java round in June 2026 showed a class and asked exactly this. The candidate pointed out missing null checks and a break of the open closed principle, which is what the interviewer wanted. Read for nulls, mutable shared state and a switch that grows with every new type.

The full set, with Spring, Kafka and the deeper questions the team rounds ask after Karat, is in Java, Spring & Kafka Questions.

Citi Karat interview questions for Python developers

Python roles get the same hour with Python questions up front. A Python developer in Mississauga in July 2026 had "10 minutes short questions about class inheritance, async programming, and other Python programming concepts." For inheritance, know how method resolution order picks which parent's method runs. For async, say that an async function is a coroutine, and that await hands control back to the event loop so other tasks run while one waits on I/O. It won't speed up CPU-bound work.

The coding part for that candidate was the standard task in Python: "a 100-150 line program having 2-3 classes and unit tests, address the existing bugs and then step by step add new features to pass unit tests." Three of the five snippet rounds described below were in Python. A US Python applications developer in September 2026 had a "Citi Scaled Technical Hiring APAC Interview" with Python discussion questions first and then live coding to develop and update backend code, the same two-part shape under a Citi name.

Citi Karat interview for Angular and React developers

Frontend and full stack roles swap the Java questions for framework ones, and the swap isn't always announced. A senior full stack developer in Dublin was told in October 2026 to expect equals and hashCode, memory, GC and DI, and got only Angular. A Toronto senior engineer in July 2026 had an Angular knowledge check before a practical task about players and games, which is worked in the next lesson.

The coding part moves too. In August 2026 a senior UI developer in Singapore took the Karat screen twice, for two roles, and both times got three React snippets to debug and then a small build in vanilla JavaScript. Rutherford's version in March 2026 was five React questions and then a Java API question. That same month a Mississauga senior frontend developer described "finding bugs and testing the code." For the vanilla JavaScript build, practise small DOM work without a framework.

React debugging snippets tend to hide one of a few classic bugs. This one is for practice and isn't from a Citi round. Say what clicking the button does and how to fix it.

javascript
function Counter() {
const [count, setCount] = useState(0);
function addThree() {
setCount(count + 1);
setCount(count + 1);
setCount(count + 1);
}
return <button onClick={addThree}>{count}</button>;
}

Each click adds one. All three calls read the same count from that render, so they all set the same value. The fix is the updater form, setCount(previous => previous + 1), which queues three increments that each see the last result.

Citi Karat interview for data engineers

For a data engineering role, prepare for the Python version above and expect the knowledge questions to follow your job post. Earlier data roles at Citi, in 2024 and 2025, wrote Python or PySpark by hand or predicted the output of code they were shown. One asked for PySpark that loads a JSON file and keeps the rows where a column is greater than 30. SQL also turns up inside Karat knowledge segments, such as a second-highest-salary query in Pune in June 2026, covered in the SQL lesson.

Make the failing tests pass

This is the task candidates describe most often in Citi coding interviews, from October 2024 right up to November 2026. You get a small project, a few classes and their unit tests, and some tests fail. You find and fix the bug without editing the tests, then write the TODO methods or add a feature until everything passes. Java is the usual language, Python versions turn up too, and a Bengaluru Golang engineer got a Go version back in October 2024.

The bugs are small. A Toronto lead developer in April 2025 said the first part "was just adding a missing 'OR' statement" and the next was "just coding up two methods." In London in August 2026, a senior Java developer had to fix a bug caused by a wrong data type. The Pune senior Java developer who was selected in June 2026 described "a project containing of few java classes and junit tests which was failing" and said reading the classes took real time. Edge cases are the third common culprit.

01Run the tests first

Before reading every class, run the suite and read the failure messages. They point at the method and often at the input that breaks it.

02Read only what the failing test touches

Follow the call from the test into the code. Skim the rest. In a 100 to 150 line project you rarely need all of it.

03Fix the smallest thing and rerun

A missing condition, an integer where a decimal belongs, a missing guard for an empty input. Change one thing, run again, and watch the count of failures drop.

04Then build the TODOs

Fill in the missing methods in the style the codebase already uses. The tests tell you the exact format they expect.

If a test expects 101.5 and your method returns 101, change the method, even if 101 looks reasonable to you. Editing a test to make it pass breaks the one rule the task states.

The problem below is something like the task, built to be worked in the same order. It's a small class that tracks stock positions. The starter code is the class as you'd find it, with three planted bugs and two TODOs, and the tests are the ones you can't change. Give yourself 25 minutes.

1

Fix the Failing Portfolio Tests

EasyCommonly asked
Problem
You've inherited a Portfolio class that tracks stock positions, and some of its unit tests fail. Starting from the class as you found it, fix the bugs and finish the TODO methods so every test passes. Don't change what the tests expect.

buy(symbol, shares, price) adds shares at a price and returns true, or false when shares or price is zero or negative. sell(symbol, shares, price) returns false when shares is zero or negative, or more than you hold. Otherwise it removes the shares at your average cost and returns true. A position that reaches zero shares disappears.

average_cost(symbol) divides the cost of the shares you hold by the number held, rounded to 2 decimals. For a symbol you don't hold it returns 0. holdings() lists each position as "SYMBOL shares", sorted by symbol. realized_profit() is the sum of (sell price minus average cost) times shares over every sale, rounded to 2 decimals.
  1. Portfolio()
  2. buy("AAPL", 10, 100)→ true
  3. buy("AAPL", 10, 103)→ true
  4. average_cost("AAPL")→ 101.5

Twenty shares cost 2,030 in total, so the average is 101.5. The starter returns 101 because it divides as whole numbers.

How this uses the pattern

Run the tests and let each failure point at one method. The bugs are a missing condition, a division that drops the decimals, and a missing guard for a symbol you don't hold. Profit needs a field the class doesn't have yet.

Write it here, or go full screen with the problem, hints and solution beside the editor.

Fix the Failing Portfolio Tests

Loading...
Click "Run" to execute your code
The Citi angle
This is the shape of the most reported Citi Karat task: a few methods, unit tests you may not edit, a bug or two, then TODOs. The planted bugs mirror the kinds candidates name, a missing OR, a wrong data type and an edge case. Karat records the hour for the recruiter, so say which failing test you're chasing and why.
Take it further
Add a feature the tests don't cover yet. A London candidate in September 2026 fixed the bug and then ran out of time on the second task, adding a new feature. Practise one here: sell_all(symbol, price) that sells the whole position and returns the profit on that sale. Write the test first, then reuse sell so the profit logic lives in one place.

Predict-the-output and find-the-bug snippets

Some Citi Karat rounds fill part of the slot with short snippets instead of, or before, the codebase. It has come up from December 2025 to September 2026. In London in September 2026, a senior Java developer "got 5 small code to debug and fix" before two coding tasks. A US GenAI engineer in August 2026 had five Python output and bug-prediction questions. Canada's version in May 2026 was Python multiple choice and output prediction, and in December 2025 a Chennai Java developer counted "10 -20 small coding sets" to find bugs in.

The snippets test whether you know the language's rules cold. A July 2023 Pune round, before Karat, gives a good sense of the style. It had output questions on Parent and Child print calls, which turn on overloading vs overriding, and on the size of a HashSet after two adds. Something like this:

java
class Parent {}
class Child extends Parent {}
static void print(Parent p) { System.out.println("Parent"); }
static void print(Child c) { System.out.println("Child"); }
Parent item = new Child();
print(item); // ?
Set<Student> students = new HashSet<>();
students.add(new Student());
students.add(new Student());
System.out.println(students.size()); // ? (Student has no equals or hashCode)
Set<Integer> numbers = new HashSet<>();
numbers.add(new Integer(20));
numbers.add(new Integer(20));
System.out.println(numbers.size()); // ?

It prints Parent, then 2, then 1. Overloads are picked at compile time from the declared type, and item is declared as Parent. Overriding is the runtime one. Two Student objects without equals and hashCode are two different objects to the set, while Integer compares by value. That ties straight back to the equals and hashCode question in the knowledge segment.

For Python, practise the traps that show up in any output quiz. This one isn't from a Citi round.

python
def add_tag(tag, tags=[]):
tags.append(tag)
return tags
print(add_tag("a")) # ?
print(add_tag("b")) # ?

It prints ['a'] and then ['a', 'b']. The default list is created once, when the function is defined, so every call without a second argument shares it. Use tags=None and create the list inside.

The long multi-part build

In a few Citi Karat rounds the coding slot is one long prompt with several required parts. The newest was in October 2026, when a Toronto full stack developer said "They expect you to speed-code a problem, multiple requirements". In August 2026 a US GenAI engineer had "one big LLD multi part question" in Python, finished two parts and could only explain the third. The Mississauga senior Java developer who got it in October 2025 said the question "was sort of too long. I spent too much time finishing the reading, but the solution was easy."

The problem below practises that shape with a small library desk. You start with checkouts and returns. Holds come next, so a returned copy goes straight to the next member in line, and late fines come last. Read only part one, get it passing, then read the next. Give yourself 30 minutes for all three.

2

Library Checkout in Three Parts

MediumSometimes asked
Problem
Build a Library class. add_book(book_id, copies) puts copies of a book on the shelf; each book is added once, before anyone borrows it. checkout(member, book_id, day) lends a copy and returns true. It returns false for an unknown book, when no copy is on the shelf, or when the member already has this book. return_book(member, book_id, day) returns false if the member doesn't have the book, and true otherwise.

Part two, holds. place_hold(member, book_id) joins the line for a book and returns true. It returns false for an unknown book, when a copy is on the shelf, or when the member already has the book or is already in line. When a copy comes back and the line isn't empty, it goes straight to the first member in line, as a loan starting that day. borrowed(member) returns the member's book ids, sorted.

Part three, fines. A loan lasts 14 days. Returning a book borrowed on day d on any day up to d + 14 is free, and each day after that adds 1 to the member's fines. fines(member) returns the member's total.
  1. Library()
  2. add_book("dune", 1)
  3. checkout("ana", "dune", 1)→ true
  4. checkout("ben", "dune", 1)→ false
  5. return_book("ana", "dune", 5)→ true
  6. checkout("ben", "dune", 5)→ true

One copy, so ben has to wait until ana returns it on day 5.

How this uses the pattern

Keep four dicts: copies on the shelf per book, the day each (member, book) loan started, a list of waiting members per book, and fines per member. A return either hands the copy to the first member in line or puts it back on the shelf.

Write it here, or go full screen with the problem, hints and solution beside the editor.

Library Checkout in Three Parts

Loading...
Click "Run" to execute your code
The Citi angle
This is practice for the multi-part Citi Karat prompt, where reading eats the clock. Each part adds one dict and one branch to the class from the part before. If part one is clean, part two is a few lines in return_book. Over-planning part one is how you run out of time before part three.
Take it further
Let add_book top up a book people are waiting for. If new copies can arrive while members wait, add_book needs a day and has to hand copies to the line before the shelf. Pull the "give a copy to the next member or shelve it" step out of return_book into one helper and call it from both places.

When the Karat hour is plain LeetCode

Now and then the Citi Karat round adds classic problems, or swaps the codebase for them. The Pune senior Java developer selected in June 2026 ended the hour with three easy questions asked back to back until time ran out. They were a palindrome check, search in a rotated sorted array, and whether one string is a substring of another. The interviewer said the number of questions wasn't planned. All three are worked in Palindromes, Two Sum & Array Basics.

A senior Java developer in Irving in November 2025 had a different mix. Two LeetCode problems took 30 minutes, one on a hashmap and one finding a word in a grid of letters. Then came six object oriented design and production questions and three system design scenarios, with 10 minutes for each set. That candidate's advice was "Be prepared with the list of Karat tagged questions in LeetCode." A Premium question is in Org Trees, BFS, Grids & Linked Lists, and the short design blocks are in Critique a Given Architecture.

Before Karat: debugging questions from 2016 to 2023

Debugging was part of Citi screens long before the Karat format. A 2016 Singapore online test asked candidates to debug a code segment. A Chennai OA in November 2022 had one LeetCode-medium problem plus a debugging question, and a Chennai walk-in drive in 2023 asked debug questions. All three predate Karat at Citi. Reading and fixing code has been part of how Citi screens developers for years, and Karat made it the main event.

The clock is the problem

Candidates say the same thing in different words. The code isn't hard and there isn't enough time. "The time is very limited so don't waste pondering," a Pune candidate warned in August 2026. A Plano lead engineer in June 2026 lost 10 to 15 minutes defending an approach before writing any code, and had about 10 minutes left to code.

Close isn't enough. Two candidates who felt they had solved everything, one in Canada in May 2026 and one in the UK in July 2026, were rejected within a day. Finishing every part, with the tests green, is what moves you on.

Do

  • Give the knowledge answers in one or two sentences and stop.
  • Explain your plan in under a minute, then start typing. Some interviewers won't let you code until you've explained the logic, so have it ready.
  • Run the tests early and often, and say the failure count as it drops.
  • Skim a long prompt for what each part needs before you read every word.

Don't

  • Debate the approach while the clock runs. Offer the alternative, then build the simple one.
  • Rewrite working code you didn't write. Change the smallest thing that fixes the test.
  • Edit a test to make it pass.
  • Polish part one while part two sits unread.

Platform, language and AI

The round runs in Karat's own editor, which one 2024 candidate called Karat Studio. Opinions on it vary. A Toronto full stack developer in October 2026 called it "a glorified whiteboard, zero intellisense," while a Dublin candidate in June 2025 liked its code completion. Plan for the worse version. Know the standard library calls you need without autocomplete, and get used to reading test output in a plain console.

You can usually choose your language for the coding part. A Mississauga candidate in October 2025 used Python for a Java role and passed, and a Singapore round in July 2026 allowed "a language of your choice" for the implementation question. The knowledge questions still follow the job post, so a Java role still gets Java questions. If the codebase arrives in Java, fixing it in Java is the safe call.

Assume no AI help. Citi publishes no rule on AI tools for candidates, Karat's candidate page doesn't mention them, and no Citi coding round is known to allow one. The Karat hour is watched live and recorded. Ask your recruiter if you need a definite answer.

Citi Karat interview pass mark and results

There's no published pass mark. What the outcomes show is simpler. Finishing every part matters more than anything else, and nearly finishing has led to rejections. The knowledge answers count too, which is why the short, exact answer beats a long one that wanders.

Karat sends the recording to the recruiter, and the decision comes back through Citi. Results have taken from a day to a few days. A Java AVP candidate in April 2026 heard back "After a few days," while the two rejections above came within a day. If you pass, the next rounds are Citi's own team interviews, mostly technical talk on Java, Spring and Kafka for senior roles, ending with the hiring manager. The Citi interview process covers those rounds and how they differ by level.

Karat isn't the only first round. Some Citi teams use Codility instead, including a longer live session inside a small codebase in November 2026, and contract roles can reach Karat through a staffing firm. The Assessment, Codility & Superdays covers those formats.

Common questions

What is the Citi Karat interview?

A one-hour technical screen run by Karat, a company that conducts interviews for employers, on Citi's behalf. It's the first technical round for many experienced developer roles in 2026. You answer quick questions on the stack in the job post, then spend 30 to 40 minutes coding, usually fixing a small codebase until its unit tests pass.

What questions are asked in the Citi Karat interview?

For Java roles, short questions such as equals vs hashCode, heap memory and garbage collection, final, exceptions, DI vs IoC and design patterns. Python roles get inheritance and async. Frontend roles get Angular or React. The coding is usually a bug fix plus TODO methods against unit tests, sometimes output-prediction snippets or a long multi-part build.

How hard is it?

The code itself is easy to medium. Candidates who struggled say they ran out of time, spent too long reading a long prompt, or got stuck defending an approach. Practise reading unfamiliar code fast and fixing it in small steps.

Can I use Python for a Java role?

Often, for the coding part. A Mississauga candidate did in October 2025 and passed, and a Singapore round in July 2026 allowed any language. The knowledge questions will still be about Java, and a codebase handed to you in Java is easiest to fix in Java.

What should I expect after the Karat round?

The recruiter gets the recording, and results have come back within a day to a few days. Passing leads to Citi's own team interviews, which for senior roles are mostly Java, Spring and Kafka depth, then the hiring manager.

Key Takeaways

  • ✓The Citi Karat hour is a short intro, about 10 to 15 minutes of knowledge questions, then 30 to 40 minutes of coding.
  • ✓Keep knowledge answers to one or two sentences. The questions follow the job post, and frontend roles may get only framework questions.
  • ✓The usual task is failing unit tests in a small codebase. Fix the smallest thing, rerun, and never edit a test.
  • ✓Time is what candidates run out of, and nearly finishing has led to rejections. Plan briefly and start typing.
Citi interview guide

Know what Citi asks before you walk in.

26 coding · 6 system design · 20 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

What Citi Tests in CodingHad your Citi interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.