Citi software engineer interview questions

Citi software engineer interview questions usually combine data structures and algorithms, core Java or Python, SQL, and design questions shaped by banking: payments, trades, reconciliations and audit trails. Candidates commonly describe an online coding assessment, technical interviews with engineers from the hiring team and a manager conversation, but the exact steps depend on the business, the country and the level.

By Published 8 min read

How Citi engineering interviews usually run

Citi is a global bank with technology teams behind markets and trading, consumer and commercial banking, treasury and trade services, risk, compliance and internal operations. Hiring happens team by team, so there is no single loop. The steps below are the pattern candidates describe most often, not an official process. Ask your recruiter what your loop contains, how long each interview is and which language you can code in.

  1. Application and online assessmentMany candidates, especially campus and early-career applicants, report a timed online coding test with a few algorithm problems, sometimes with multiple-choice questions on language basics or SQL.
  2. Recruiter or HR screenMotivation, location, notice period and a quick check of your background. Some candidates also report a recorded video step for graduate programs.
  3. Technical interviewsUsually with engineers from the team: coding on a shared editor or whiteboard, questions on Java, Python or C++ depending on the stack, SQL, and a walk through a project on your résumé. Senior candidates get a design discussion.
  4. Manager roundA hiring manager conversation covering how you work, production ownership, how you handle pressure and why Citi. In some loops this is combined with a senior technical interview.

What Citi teams tend to look for

  • Solid fundamentals over tricks. Clean code, correct edge cases and a clear complexity analysis matter more than an obscure algorithm.
  • Care with money and data. Using decimal types for amounts, thinking about rounding, duplicates and time zones, and never losing a record.
  • Production ownership. Bank systems run critical batches and real-time flows. Interviewers like candidates who have been on call, debugged a live issue and written the runbook afterwards.
  • Respect for controls. Change approvals, segregation of duties, audit logs and access reviews are part of daily work in a regulated bank. Treat them as part of engineering, not as obstacles.
  • Working across locations. Citi teams are spread across many countries, so written handoffs and clear communication come up in behavioral questions.
  • Values fit. Citi publishes leadership principles for its staff. Read the current wording on Citi's careers site and prepare a story for each; ownership and teamwork stories are a safe start.

Coding questions

Coding question types with a banking flavor
QuestionWhat it testsWhat a strong answer shows
Given a list of trades (account, instrument, side, quantity), return the net position per account and instrument.Hash maps and groupingA composite key, signed quantities by side, and output sorted for stable results. Mention what happens with an unknown side value.
Two systems export payment records. Report the ones that do not match.ReconciliationCount-based matching so duplicates are not hidden, separate missing records from amount breaks, and decimals instead of floats.
Flag payments that repeat the same payer, payee and amount within ten minutes.Sliding windowsSort by time per key, a window with two pointers or a deque, and a clear rule for exact boundary times.
Merge several time-sorted price feeds into one sorted stream.HeapsA min-heap of the next item from each feed, O(n log k), and a tie-break rule for equal timestamps.
Parse a message of tag=value pairs separated by a delimiter, and validate required tags.String parsingHandles empty values, repeated tags and a missing delimiter at the end, and reports which tag failed.
Implement a cache for reference data with a size limit and least-recently-used eviction.Data structure designA hash map plus a doubly linked list (or an ordered map), O(1) get and put, and a note on thread safety.
Find the best single buy and sell from a list of daily prices.Array scansOne pass tracking the minimum so far, O(n) time, and the case where prices only fall.
Limit each client to a fixed number of API calls per minute.Rate limitingToken bucket or sliding window per client, what to return when the limit is hit, and how it works across several servers.
Coding question types with a banking flavor. Scroll sideways on a small screen.
from collections import Counter
from decimal import Decimal

def reconcile(ours, theirs):
    """Match two lists of (ref, amount) records and report the breaks.

    Duplicates count: two identical records on our side need two on theirs.
    Amounts are Decimal strings, never floats.
    """
    a = Counter((ref, Decimal(amt)) for ref, amt in ours)
    b = Counter((ref, Decimal(amt)) for ref, amt in theirs)
    only_ours = a - b
    only_theirs = b - a
    by_ref_ours = {ref for ref, _ in only_ours}
    by_ref_theirs = {ref for ref, _ in only_theirs}
    amount_breaks = sorted(by_ref_ours & by_ref_theirs)
    return {
        "missing_at_counterparty": sorted(k for k in only_ours.elements() if k[0] not in by_ref_theirs),
        "missing_on_our_side": sorted(k for k in only_theirs.elements() if k[0] not in by_ref_ours),
        "amount_mismatch_refs": amount_breaks,
    }

print(reconcile(
    [("T1", "100.10"), ("T2", "250.00"), ("T3", "75.5"), ("T3", "75.5")],
    [("T1", "100.1"), ("T2", "205.00"), ("T3", "75.50"), ("T4", "10.00")],
))
# {'missing_at_counterparty': [('T3', Decimal('75.5'))],
#  'missing_on_our_side': [('T4', Decimal('10.00'))],
#  'amount_mismatch_refs': ['T2']}
A reconciliation answer: count-based matching that keeps duplicates, Decimal amounts so 100.10 equals 100.1, and three kinds of breaks. Run with python3 against the example below and 2,000 random cases checked by a slower reference.

Language, SQL and fundamentals

  • Why not use double for money? Binary floating point cannot represent most decimal fractions exactly, so sums drift. Use BigDecimal in Java or Decimal in Python, with an explicit scale and rounding mode, or store integer minor units.
  • How does a HashMap work, and why must equals and hashCode agree? Keys hash to buckets; collisions chain (and Java 8+ can turn long chains into trees). If two equal objects return different hash codes, lookups miss and duplicates appear.
  • Why are immutable objects useful in a trading or payments system? They are safe to share between threads without locks and cannot be changed after validation, which makes audit and reasoning simpler.
  • ConcurrentHashMap versus a synchronized map? The concurrent map allows many readers and fine-grained writes; a synchronized wrapper locks the whole map per call. Compound actions still need atomic methods such as computeIfAbsent or merge.
  • What does an ExecutorService give you over creating threads? A bounded pool, a queue for tasks, futures for results and a clean shutdown. Size it for the work: CPU-bound versus waiting on I/O.
  • Write SQL for each account's latest balance from a table of balance snapshots. ROW_NUMBER over account ordered by snapshot time descending, keep rank one; or a join to a grouped max, with a note on ties.
  • Which transaction isolation level would you choose for moving money between accounts, and why? Enough to prevent lost updates, often with row locks on both accounts taken in a fixed order to avoid deadlocks, and a constraint that balances cannot go negative if the business rule says so.
  • What is an index, and when does it hurt? A sorted structure that speeds lookups and range scans but slows inserts and updates and takes space. Batch-heavy tables often drop or defer indexes during loads.

If your team uses Spring, expect questions on dependency injection, transactions and REST services; the Spring Boot interview questions page covers them. For SQL drills, see SQL interview questions.

System design and banking domain questions

Design questions for experienced candidates
QuestionWhat it testsWhat a strong answer shows
Design a service that accepts payment instructions from clients.Idempotency and correctnessAn idempotency key per instruction, validation before acceptance, a state machine (received, validated, sent, settled, failed), and an append-only audit trail.
Design an end-of-day batch that computes positions and feeds downstream reports.Batch reliabilityCheckpoints so a rerun resumes, control totals compared at each step, a cut-off time, and alerts when a feed is late.
Design a reconciliation service between our ledger and a counterparty's file.Matching at scaleNormalize both sides, match on keys with tolerances, classify breaks, route them to an operations queue and track aging.
Distribute market prices to hundreds of internal consumers.MessagingA publish and subscribe bus with topics per instrument group, conflation for slow consumers, and a snapshot plus updates on reconnect.
Move a nightly mainframe job to a set of services.MigrationRun old and new side by side, compare outputs record by record, cut over by product or region, and keep a rollback.
How would you keep an audit trail that regulators can trust?AuditabilityAppend-only storage, who did what and when, links to the approved change or request, retention rules and restricted access to the trail itself.
Design questions for experienced candidates. Scroll sideways on a small screen.

For a general design method, use the system design interview framework, and for the payments case in depth, designing a payment system.

Behavioral and manager questions

  • Tell me about a production incident you handled. Timeline, how you contained it, who you informed, the root cause and the control you added. Keep blame out of it.
  • Describe a time you had to deliver a change for a fixed regulatory or business deadline. How you planned backwards from the date, what you descoped and how you kept approvals on track.
  • Tell me about working with a team in another country. Overlap hours, written handoffs, shared runbooks, and one misunderstanding you fixed.
  • When did you push back on a request because it skipped a control? The risk you saw, the proper channel you used and how you still helped the requester get what they needed.
  • Describe something you automated that operations staff did by hand. The manual steps, the time saved and how you made sure nothing was lost in the switch.
  • Why Citi, and why this team? Something specific: the product the team supports, the scale of the flows or the problems it solves for clients, linked to your experience.

Fictional example

Answering "Tell me about a production issue you owned"
Interviewer
Tell me about a production issue you were responsible for fixing.
Candidate
At my last company I owned a service that sent supplier payments to the bank in a nightly file. One morning finance reported that a supplier had been paid twice. I confirmed it in our logs: a network timeout made our job retry the upload, and both files were processed. I stopped the next run, worked with finance to recall the duplicate, and listed every payment in the two files so nothing else was missed. The root cause was that our retry created a new file name each time, so the bank could not tell it was the same batch. I changed the job to reuse the original batch ID on retries, added a check that refuses to send a batch ID twice, and wrote the incident note with a timeline. We had no repeat in the following year, and the duplicate-batch check became part of our release checklist.

A three-week preparation plan

  • Week 1: two timed algorithm problems a day on arrays, hash maps, strings, heaps and sliding windows, explained out loud with complexity.
  • Week 2: language depth in your interview language (collections, concurrency, memory, exceptions), plus a SQL session every other day on joins, grouping and window functions.
  • Week 3: one banking design problem every two days (payments, reconciliation, end-of-day batch), and six stories on incidents, deadlines, controls and cross-location work.
  • Throughout: re-read every project on your résumé and be ready to draw its architecture and name your own contribution.

Compare with Capital One software engineer interview questions for another bank's engineering loop, and the general software engineer interview questions for the core topics every loop shares.

Bank interviews reward precise, calm explanations of things that went wrong. Natively, an AI interview assistant for Mac and Windows, can transcribe a mock technical round, read a coding problem or a SQL table from a screenshot, and show a suggested approach beside your own while you practice explaining it. With Pro or the free trial, it can take your résumé and the Citi job description into account, and the transcript and notes of each mock are kept so you can review how you handled follow-up questions.

Questions people ask

What is the Citi software engineer interview process?

Candidates commonly describe an online coding assessment, a recruiter or HR screen, technical interviews with engineers from the team and a hiring manager conversation. The steps vary by business, country and level, so confirm them with your recruiter.

What coding questions does Citi ask?

Mostly standard data structure and algorithm problems, often with a financial setting: grouping trades into positions, reconciling two record sets, sliding windows over payments, heaps for merging feeds and cache design.

Which programming language should I use in a Citi interview?

Use the language the role lists, often Java, Python or C++, and confirm with the recruiter. Expect follow-up questions on that language's collections, concurrency and memory model.

How do I prepare for a Citi software engineer interview?

Practice timed algorithm problems, review your language and SQL, prepare one or two banking design problems such as payments or reconciliation, and have stories ready about production incidents, deadlines and working within controls.

Where to go next

Practice with the same assistant you would use on a call: it listens, transcribes and suggests answers from your own resume and the job description.

Facts on this page were last checked on . Product details come from the Natively app itself; if something here is out of date, tell us at hello@heynatively.com.

Keep reading

Put it on your own machine.

A live-conversation assistant that runs locally. Your conversations stay on your machine.

macOS 12+ · Windows 10/11

© 2026 Natively AI Private Limited

Source-available under the Natively Personal Use Source License v1.0 · IP geolocation by DB-IP