0 day streak

Citi coding interview questions

Banking Global

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +46 Solve
Best Time to Buy and Sell StockState Machine DP - Stock Problems Easy Dynamic Programming Amazon, Microsoft, Apple +38 Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +50 Solve
Evaluate Reverse Polish NotationStack Basics Medium Stack Google, Tesla, CRED Solve
Rotate ImageIn-place Transformations Medium Arrays & Hashing Amazon, Apple, Nvidia +14 Solve
Minimum Size Subarray SumSliding Window · Variable Medium Arrays & Hashing Intel, Zomato, HCLTech Solve
Number of Visible People in a QueueMonotonic Stack Hard Monotonic Stack ServiceNow, Meesho Solve
Top K Frequent ElementsComposite comparator Medium Heaps Google, Amazon, Apple +16 Solve
Shuffle an ArrayRandomized Algorithms Medium Design Data Structures Uber, JPMorgan Chase, Zomato Solve
Intersection of Two Linked ListsMiscellaneous Easy Linked List Airbnb, Visa, American Express +3 Solve
Flatten Binary Tree to Linked ListTree to Lists and vice-versa Medium Trees & BST CRED Solve
Invert Binary TreeRecursion Easy Trees & BST Amazon, Meta, PhonePe +1 Solve
Sort Characters By FrequencyTop K / Kth Largest / Smallest Medium Heaps Wipro, Accenture, HCLTech +1 Solve
Binary Tree Postorder Traversal (Iterative)Recursion Easy Trees & BST Solve
Also reported, being added to AlgoRung (2)

Find Greatest Common Divisor of Array · Longest Bitonic Subsequence

Questions people ask

What coding questions does Citi ask most?

Two Sum, Best Time to Buy and Sell Stock, Longest Substring Without Repeating Characters, Evaluate Reverse Polish Notation, Rotate Image, Minimum Size Subarray Sum, Number of Visible People in a Queue, Top K Frequent Elements.

Which topics come up in Citi coding rounds?

arrays, strings, trees, linked list, sliding window, stack.

How hard are Citi coding questions?

Of the reported questions, 5 are easy, 8 medium and 1 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.