practice a little every day, paws crossed ♡
Software Engineer Interview Questions
Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.
- 9403
- Questions
- 546
- Companies
- 11
- Topics
- 8
- Languages
Showing 691–720 of 2810 results
- CitadelHardSoftware EngineerCompute Statistics from a Frequency Array
Compute count, minimum, maximum, mean, median, mode, and population standard deviation directly from a 256-bin frequency array. Use weighted moments and cumulative ranks without expanding samples, define empty-data behavior and ties, and address overflow and numerical precision.
Statistics & MathTechnical Screen - CitadelMediumSoftware EngineerDesign Inventory Availability and Order Placement
Design e-commerce inventory availability and order reservation without overselling under concurrent requests. Define on-hand, reserved, and available invariants; atomic multi-item placement; idempotent retries; expiration; and optimistic versus pessimistic control for hot SKUs.
System DesignTechnical Screen - CitadelMediumSoftware EngineerDesign a Thread-Safe Shared Counter
This question evaluates concurrency and synchronization competencies, including atomicity, race conditions, concurrent data structures, and cross-process coordination for maintaining exact per-key counts.
Software Engineering FundamentalsTechnical Screen - CitadelHardSoftware EngineerDesign a low-latency trading system
This question evaluates expertise in designing low-latency, high-determinism electronic trading systems, covering order matching, market data ingestion and publish, partitioning/sharding, persistence for auditability, idempotency, pre-trade risk controls, and operational reliability.
System DesignTechnical Screen - CitadelMediumSoftware EngineerDesign a token manager with lazy expiration
This problem tests your ability to design a token management system that supports efficient retrieval, updates, and lazy removal of expired tokens using a combination of a hash map and a priority queue.
Coding & AlgorithmsTechnical ScreenHash MapHeapTTL - CitadelHardSoftware EngineerDiscuss a Project You Are Proud Of and How You Work
Use one truthful project to explain what you are proud of, what changed in your thinking, and how you organize a normal workday. Connect personal decisions and measurable impact to later behavior while showing realistic prioritization, collaboration, focused work, and adaptability.
Behavioral & LeadershipTechnical Screen - CitadelHardSoftware EngineerDiscuss queues, NoSQL, and concurrency
This question evaluates understanding of distributed messaging systems, delivery semantics, push versus pull consumption models, NoSQL versus relational storage trade-offs, and concurrency control including deadlock concepts.
System DesignTechnical Screen - CitadelMediumSoftware EngineerExplain JS types, Promises, Maps, WebSockets
Explain JS types, Promises, Maps, WebSockets evaluates requirements, assumptions, structured reasoning, trade-offs, and verification in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Software Engineering FundamentalsTechnical Screen - CitadelMediumSoftware EngineerExplain career motivations and choices
This question evaluates self-awareness, career motivation, role-fit, decision-making, and communication skills for a Software Engineer by probing career values, educational and internship choices, and motivation for entering the finance industry.
Behavioral & LeadershipTechnical Screen - CitadelMediumSoftware EngineerFind earliest common meeting slot
This question evaluates proficiency with interval manipulation, timeline merging, and algorithmic reasoning for scheduling constraints, measuring competency in handling sorted interval lists, edge-case sanitization, and complexity analysis.
Coding & AlgorithmsTechnical Screen - CitadelMediumSoftware EngineerFind the Index Range of a Target in a Sorted Array
Implement an algorithm to find the first and last index of a target value in a sorted array in O(log n) time.
Coding & AlgorithmsTechnical Screenbinary-searcharrayscitadel - CitadelMediumSoftware EngineerFind the Shortest Target-Sum Path
This problem tests your ability to navigate binary trees using recursion or iterative traversal while maintaining state to find a path that meets a specific sum criteria with the smallest number of nodes.
Coding & AlgorithmsTechnical ScreenTreesDFSRecursion - CitadelMediumSoftware EngineerHarbor Clash: A Two-Captain Terminal Naval Game, Setup Then Combat
Write a runnable two-player hidden-fleet game for the terminal: captains place vessels via typed commands with full validation, then alternate firing until one fleet is sunk; tests modeling, parsing, turn flow and shipping working code fast.
Software Engineering FundamentalsTechnical Screenobject-oriented-designgameinput-validation - CitadelEasySoftware EngineerImplement LRU/LFU cache with custom eviction
This problem tests your ability to design a generic cache structure that supports interchangeable eviction strategies, requiring efficient lookup and metadata management.
Coding & AlgorithmsTechnical ScreenHash MapLinked ListCache - CitadelMediumSoftware EngineerImplement a single-producer multi-consumer ring buffer
This question evaluates understanding of ring-buffer data structures, circular indexing, fixed-capacity storage, and object-oriented design for a single-producer, multi-consumer implementation in C++.
Coding & AlgorithmsTechnical Screen - CitadelEasySoftware EngineerImplement an in-memory order book API
This problem tests your ability to design an in-memory data structure for an order book using efficient data structures to support order management and price-level aggregation.
Coding & AlgorithmsTechnical ScreenData StructuresHash MapTree - CitadelMediumSoftware EngineerIn-Memory Spreadsheet with Formulas, Cycle Detection and Read vs Write Computation
Implement a simplified in-memory spreadsheet in Python with set_cell, set_formula and get_cell, where formulas use the four arithmetic operators and may reference other formula cells. Follow-ups test circular-reference detection, legal repeated references, and the trade-offs of computing values on read versus on write, including caching and invalidation.
Software Engineering FundamentalsTechnical Screen - CitadelMediumSoftware EngineerMaximize Earnings by Adding Working Days
Maximize schedule earnings by changing at most k days off into working days, balancing fixed daily pay with bonuses for consecutive working days.
Coding & AlgorithmsTechnical Screen - CitadelMediumSoftware EngineerMerge K Drone Telemetry Streams Into a Running Altitude Timeline
Interleave K drones' individually time-ordered altitude logs into a single replay and track the fleet's shared altitude total as each logged change is applied. Tests k-way merging with a heap, a deterministic tie-break across drones, and correct handling of negative deltas and drones with no events.
Coding & AlgorithmsTechnical Screenheapmerge-intervalsstreaming - CitadelMediumSoftware EngineerMerge K Timestamp-Sorted Price Feeds into a Running Absolute Price
Merge K price-event feeds, each already sorted by timestamp, into one chronological stream and return the running absolute price after every event, starting from zero. It tests merging sorted sequences efficiently, a deterministic tie-break for equal timestamps by feed index and then in-feed order, negative deltas, empty feeds, and 64-bit accumulation.
Coding & AlgorithmsTechnical Screen - CitadelMediumSoftware EngineerMerge K timestamped lists with timestamp coalescing
This problem tests your ability to efficiently merge multiple sorted streams of data and aggregate values associated with the same timestamp.
Coding & AlgorithmsTechnical ScreenHeapMerge SortData Streams - CitadelMediumSoftware EngineerOrder Book With Per-Exchange BBO and Cross-Exchange NBBO Queries
Design and implement an in-memory order book that aggregates quantity by exchange, side and price, and answers per-exchange best bid and offer and cross-exchange NBBO queries. It tests heap ordering with lazy deletion, keeping the global view consistent when any exchange's best price moves, and precise amortized complexity analysis.
Software Engineering FundamentalsTechnical Screen - CitadelEasySoftware EngineerRead and Write Files with Shared Content
Design an in-memory file system that shares identical content payloads across multiple file paths to save memory, supporting reads, writes, and deduplication tracking.
Coding & AlgorithmsTechnical ScreenHash TableDesignString - CitadelMediumSoftware EngineerReturn a Valid Dependency Order for Named Tasks
Implement a deterministic topological sort for a directed acyclic graph of named tasks with cycle detection and lexicographical tie-breaking.
Coding & AlgorithmsTechnical ScreenGraphTopological SortHeap - CitadelMediumSoftware EngineerReturn nodes on a tree diameter path
This problem tests your ability to perform a two-pass Breadth-First Search (BFS) or Depth-First Search (DFS) on an undirected tree to find the longest path and reconstruct the sequence of nodes that form it.
Coding & AlgorithmsTechnical ScreenTreesGraph TheoryBFS - CitadelMediumSoftware EngineerTop-K Largest Elements in Every Sliding Window
Design an algorithm to maintain and extract the top-K largest elements in descending order for each sliding window of size W across an array.
Coding & AlgorithmsTechnical ScreenSliding WindowHeapOrdered Set - CitadelMediumSoftware EngineerTwo-Player Terminal Battleship: Ship Placement From Input, Then Turn-Based Attacks
Build a two-player Battleship game as a class that runs in the terminal, with players taking turns to place ships by typing coordinates and sizes, then extend it so they can attack each other's fleets. It tests object modeling, input parsing and validation, turn handling, and delivering a large amount of working code under time pressure.
Software Engineering FundamentalsTechnical Screen - Citadel SecuritiesMediumSoftware EngineerDefine a Reliable Trade-Reconciliation Library Contract
Define trade-reconciliation contracts and OOP boundaries with exact values, timestamp tolerance, partial-fill questions, deterministic policy ownership, and traceable breaks.
Software Engineering FundamentalsTechnical Screen - Citadel SecuritiesMediumSoftware EngineerDesign a Top-Ten Trade Query with Exact Amounts
Design a top-ten trade query around an explicit ranking contract, exact monetary aggregation, bounded heaps, timestamp boundaries, and mutable-score streaming tradeoffs.
Software Engineering FundamentalsTechnical Screen - CloudKitchensMediumSoftware EngineerAnswer static and streaming Top-K queries
This question evaluates understanding of frequency counting, top-K selection, streaming and sliding-window algorithms and data-structure design in the Coding & Algorithms domain, testing both conceptual algorithmic reasoning and practical implementation skills.
Coding & AlgorithmsTechnical Screen