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 61–90 of 5874 results
- AffirmMediumSoftware EngineerAnalyze Returning Borrowers Across Two Days of Logs
Process two daily loan activity logs to identify users active on both days with diverse loan types, then score them using a configurable trust policy.
Data Manipulation (SQL/Python)Technical ScreenData ManipulationHash TablePython - AffirmHardSoftware EngineerCompute Balances and Minimize Settlements
Tests transaction aggregation into net balances and combinatorial optimization (backtracking/bitmask DP) to find the minimum number of settlement transfers needed to clear all debts.
Coding & AlgorithmsOnsiteDynamic ProgrammingBacktrackingBitmask - AffirmMediumSoftware EngineerDescribe Feedback from a Manager and How You Acted on It
This question assesses your self-awareness, coachability, and ability to translate constructive criticism into measurable professional growth.
Behavioral & LeadershipHR ScreenBehavioralGrowth MindsetCommunication - AffirmMediumSoftware EngineerDescribe a Mentoring Experience and Its Outcome
This question evaluates your capacity for long-term technical mentorship, specifically focusing on your ability to adjust your teaching style, foster autonomy in others, and maintain professional boundaries regarding credit.
Behavioral & LeadershipHR ScreenMentorshipLeadershipSoft Skills - AffirmMediumSoftware EngineerDescribe your highest-impact project
This question evaluates leadership, ownership, impact measurement, cross-functional collaboration, and technical decision-making competencies by asking for a concrete example of a high-impact project.
Behavioral & LeadershipTechnical Screen - AffirmMediumSoftware EngineerDesign Installment-Loan Payment Processing
Design installment-loan payment processing around a bank debit API available during one daily one-hour window. Unify manual and scheduled intents, prevent duplicate debits with durable idempotency and state transitions, reconcile unknown outcomes, apply accounting atomically, and notify through an outbox.
System DesignTechnical Screen - AffirmEasySoftware EngineerDesign a High-Card Game with a Persistent Tie Pot
Design a high-card game in which tied rounds carry a persistent pot into later rounds, first for two players and then for many. Define card ownership, tie and exhaustion policies, deterministic shuffling, termination rules, extensible classes, and tests for tricky state transitions.
Software Engineering FundamentalsTechnical Screen - AffirmEasySoftware EngineerDesign a Ticketmaster-like ticketing system
This question tests your ability to design a high-concurrency booking system, focusing on preventing double-bookings, managing seat holds, and ensuring system availability during high-traffic events.
System DesignOnsiteConcurrencyDistributed SystemsCaching - AffirmHardSoftware EngineerDesign an A/B Testing Platform
Design a high-scale, low-latency experimentation and A/B testing platform capable of deterministic user bucketing, high-throughput exposure and metric ingestion, and automated statistical reporting.
System DesignOnsitesystem-designdistributed-systemsdata-engineering - AffirmMediumSoftware EngineerDetect fraud events and extract PII
This problem tests your ability to process nested JSON-like structures, perform deduplication, and map related entities to detect fraudulent patterns.
Coding & AlgorithmsTechnical ScreenGraphHash MapDSU - AffirmMediumSoftware EngineerDetermine Redeemable Promotion Offers
This problem tests your ability to manage stateful constraints by processing a stream of promotional event logs to determine if a user remains eligible for a discount based on a per-user, per-promotion usage limit.
Coding & AlgorithmsTechnical ScreenHashMapsDataAggregationStreamProcessing - AffirmMediumSoftware EngineerDiscuss team fit and leadership with manager
Discuss team fit and leadership with manager evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Behavioral & LeadershipOnsite - AffirmMediumSoftware EngineerExplain Why This Company and Role Interest You
This question assesses the candidate's research into the company's business model (BNPL), their alignment with financial technology values, and their ability to articulate a clear value proposition for the engineering role.
Behavioral & LeadershipHR ScreenBehavioralFintechCareer Alignment - AffirmMediumSoftware EngineerExplain Your Role Motivation, Technical Fit, and Engineering Leadership
This prompt evaluates your ability to deliver a clear, structured narrative during an initial recruiter screen, connecting your technical background, reasons for moving, and fintech/platform motivation to a concrete leadership achievement.
Behavioral & LeadershipHR ScreenBehavioralCareer NarrativeLeadership - AffirmMediumSoftware EngineerFind shortest unique substring per word
This problem tests your ability to manipulate string data structures (like Tries or Suffix Trees) to efficiently identify the shortest, lexicographically smallest substring that is unique to a given word within a provided collection.
Coding & AlgorithmsTechnical ScreenStringsTrieHash Map - AffirmMediumSoftware EngineerHiring Manager Behavioral Interview: Challenging Project, Deadlines, Cross-Team Work
A hiring manager asks you to introduce yourself, describe a challenging project, explain why you want to join Affirm, and discuss delivering under a tight timeline, working across teams and finding where a system needs improvement. It tests structured, evidence-based behavioral answers and engineering judgment.
Behavioral & LeadershipTechnical Screen - AffirmEasySoftware EngineerImplement an LRU cache
This question tests the ability to combine a hash map and a doubly linked list to achieve constant-time performance for both data retrieval and update operations in a cache.
Coding & AlgorithmsOnsiteHash MapLinked ListDesign - AffirmMediumSoftware EngineerImplement and debug event filtering in Python
This question evaluates proficiency in data manipulation and algorithmic reasoning in Python, covering event filtering, stable sorting, deduplication by identifier, timestamp windowing, and analysis of time and space complexity.
Data Manipulation (SQL/Python)Onsite - AffirmHardSoftware EngineerSimulate a High-Card Deck Game for Two Players, Then N Players
Model a shuffled 52-card game in which each round the higher top card wins both cards, then report the player with the most cards won. Starts with two players and generalizes to N players with uneven round-robin dealing, testing object design, rule clarification, and deterministic tests.
Software Engineering FundamentalsTechnical Screen - AgodaMediumSoftware EngineerCompute probability two arrivals meet within 15 minutes
This question evaluates understanding of continuous probability and geometric probability, focusing on independent uniform random variables and reasoning about time-window overlap.
Software Engineering FundamentalsTechnical Screen - AgodaMediumSoftware EngineerCompute triangle min path and dice stopping stats
This composite question evaluates dynamic programming and algorithmic optimization via the triangle minimum path problem and probability, stopping-time analysis and Monte Carlo simulation through the two-dice experiment, testing competencies in DP, discrete probability, expected-value reasoning and empirical estimation.
Coding & AlgorithmsTechnical Screen - AgodaMediumSoftware EngineerFind two numbers that sum to a target
This question evaluates array manipulation, index-based reasoning, and algorithmic problem-solving skills related to identifying value pairs that meet a numeric target.
Coding & AlgorithmsTechnical Screen - Ai2MediumSoftware EngineerMaintain an Out-of-Order Step Progress Tree
This problem tests tree reconstruction from a stream of out-of-order parent-child updates, requiring efficient hierarchical state management and cycle detection.
Coding & AlgorithmsTechnical ScreenTreesGraphsData Structures - Aim Intelligent MachineMediumSoftware EngineerMerge Overlapping Closed Intervals into a Sorted Disjoint List
Tests sorting and linear scanning techniques to merge overlapping closed intervals, with attention to shared boundaries, nested ranges, and large input scale.
Coding & AlgorithmsTechnical ScreenIntervalsSortingArray - AirbnbMediumSoftware EngineerAddress miscommunication and alignment
Address miscommunication and alignment evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Behavioral & LeadershipTechnical Screen - AirbnbMediumSoftware EngineerAllocate an Order from the Oldest Inventory Batches
Implement a function to allocate an order across inventory batches using FIFO (oldest timestamp first, with batch ID tie-breaker), returning allocation details and any unfilled quantity without mutating the input.
Coding & AlgorithmsOnsitesortinggreedyarrays - AirbnbMediumSoftware EngineerAllocate refund across payments
This question evaluates algorithm design and data-structure selection skills, focusing on greedy allocation, ordering by priority and recency, aggregation of transaction amounts, and analysis of time complexity.
Coding & AlgorithmsOnsite - AirbnbHardSoftware EngineerAnswer cross-team delivery and values questions
This question evaluates a candidate's competency in cross-team delivery, stakeholder communication across time zones and cultures, project ownership, risk assessment, and leadership when internal ETAs slip, and it falls under the Behavioral & Leadership category.
Behavioral & LeadershipTechnical Screen - AirbnbMediumSoftware EngineerBuild an Incremental Loyalty-Points Ledger with Scheduled, Cancelable Transfers
Implement an in-memory loyalty-points ledger that grows in three stages: atomic transfers between accounts, transfers scheduled for a future point on a simulated clock, and cancellation of a transfer before it fires. Tests incremental state-machine design, validating before mutating, and keeping point totals correct across every sequence of calls.
Software Engineering FundamentalsOnline Assessmentstate-machineoopsimulation - AirbnbMediumSoftware EngineerCompute board-game score from regions
This problem tests your ability to identify connected components in a 2D grid using graph traversal (BFS/DFS) and aggregate properties associated with those components.
Coding & AlgorithmsOnsiteGraph TraversalBFSDFS