Katkat

practice a little every day, paws crossed ♡

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 1651–1680 of 9403 results

  • BloombergEasySoftware Engineer
    Generate the Collatz Sequence From a Positive Integer Down to 1

    Write a function that runs the Collatz process from a positive integer, halving even values and replacing odd values with three times the value plus one, and returns every number visited until reaching 1. It tests loop termination, edge cases such as a start of 1, and intermediate values beyond 32-bit range.

    Coding & AlgorithmsTechnical Screen
  • BloombergMediumProduct Manager
    How would you manage platform transitions?

    How would you manage platform transitions? evaluates product goals, user impact, metrics, trade-offs, risks, and decision criteria in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Product / Decision MakingTechnical Screen
  • BloombergMediumData Engineer
    Implement RotatingFileSink in hierarchy

    This question evaluates a candidate's proficiency in Python object-oriented design, file I/O and JSON serialization, concurrency control via locking, context manager protocols, custom exception handling, and adherence to Liskov substitution when implementing a rotating file sink.

    Software Engineering FundamentalsTechnical Screen
  • BloombergMediumSoftware Engineer
    Implement a simplified grep with extensible flags

    This question evaluates competency in designing maintainable, extensible text-processing code, covering flag parsing, separation of concerns, and correct substring matching behavior.

    Coding & AlgorithmsTechnical Screen
  • BloombergMediumSoftware Engineer
    Implement classes in existing abstract hierarchy

    This question evaluates object-oriented design and implementation skills in Python within the Coding & Algorithms and software engineering domain, focusing on completing concrete subclasses in an existing abstract class hierarchy while preserving public interfaces and type compatibility.

    Coding & AlgorithmsTechnical Screen
  • BloombergMediumData Engineer
    Implement classes within an abstract Python framework

    This question evaluates a candidate's skills in object-oriented design, implementing concrete classes from abstract interfaces, file I/O and streaming data transformations, error handling, and integration with a registry and CLI within a Python codebase.

    Coding & AlgorithmsTechnical Screen
  • BloombergMediumSoftware Engineer
    Implement island counting with BFS and DFS

    A Bloomberg Software Engineer onsite coding question: count the number of islands (connected land regions) in an m x n grid under four-directional connectivity. It asks for a linear-time O(m·n) flood-fill plus a second, explicit breadth-first-search implementation, with correctness and complexity analysis, edge-case handling, tests, and a diagonal-adjacency follow-up.

    Coding & AlgorithmsOnsite
  • BloombergMediumSoftware Engineer
    Implement sliding-window timestamped average

    This question evaluates understanding of time-based sliding-window data structures, streaming aggregation, and the handling of timestamped records with efficient incremental updates and evictions.

    Coding & AlgorithmsTechnical Screen
  • BloombergMediumSoftware Engineer
    Implement streaming enrichment aggregator

    This problem tests your ability to design a stateful stream processor that aggregates fragmented event data based on a shared correlation ID within a sliding time window.

    Coding & AlgorithmsTechnical ScreenHashMapsStream ProcessingConcurrency
  • BloombergMediumSoftware Engineer
    Introduce yourself and explain why Bloomberg

    This question evaluates a candidate's communication, project ownership, technical decision-making, and motivation for joining the prospective employer, with emphasis on articulating specific contributions, trade-offs, and measurable impact.

    Behavioral & LeadershipTechnical Screen
  • BloombergMediumSoftware Engineer
    Minimize Travel Assignment Cost

    This problem tests your ability to minimize costs when assigning workers to multiple destinations, requiring an application of dynamic programming to manage fixed capacity constraints.

    Coding & AlgorithmsTechnical ScreenDynamic ProgrammingBitmaskingOptimization
  • BloombergMediumSoftware Engineer
    Minimum Character Replacements to Make One String an Anagram of Another

    Given two strings of equal length made of lowercase letters, find the fewest single-character replacements in the second string that turn it into an anagram of the first. This phone-screen coding problem tests character frequency counting and precise reasoning about which letters must change.

    Coding & AlgorithmsTechnical Screen
  • BloombergMediumSoftware Engineer
    Predict most likely next word from training data

    This problem tests your ability to process textual data into an N-gram model, requiring efficient counting of sequence frequencies to predict the most probable subsequent word.

    Coding & AlgorithmsOnsiteHash MapsNLPData Structures
  • BloombergMediumSoftware Engineer
    Solve Grid Path and Unique Substring

    This problem tests grid traversal via dynamic programming or recursion, combined with the sliding window technique to identify unique character patterns within string segments.

    Coding & AlgorithmsOnline AssessmentDynamic ProgrammingSliding WindowGrid
  • BloombergMediumSoftware Engineer
    Solve Magic Dictionary and unknown traversal

    This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Solve Magic Dictionary and unknown traversal states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Coding & AlgorithmsTechnical Screen
  • BloombergMediumSoftware Engineer
    Solve Number of Islands

    This question evaluates understanding of graph and grid traversal concepts, specifically identifying connected components in a binary matrix and familiarity with traversal strategies such as BFS and DFS.

    Coding & AlgorithmsOnsite
  • BloombergMediumSoftware Engineer
    Solve common string/tree/grid interview tasks

    This problem tests your ability to perform a vertical-order traversal of a binary tree by mapping nodes to relative column indices and sorting them by their depth and value.

    Coding & AlgorithmsTechnical ScreenTreesBFSSorting
  • BloombergEasySoftware Engineer
    Solve meeting and tree problems

    This problem tests your ability to manipulate overlapping intervals and perform specific tree traversals to extract structural information.

    Coding & AlgorithmsTechnical ScreenSortingIntervalsBinary Tree
  • BloombergMediumSoftware Engineer
    Solve sliding-window, flattening, decode, and O(1) random set

    This problem tests your ability to handle nested data structures through recursive parsing, maintain efficient state using hash maps and dynamic arrays, and implement sliding window techniques to manage constraints in a stream.

    Coding & AlgorithmsTechnical ScreenStackRecursionHash Map
  • BloombergMediumSoftware Engineer
    Solve string dictionary and tree ordering

    This question evaluates design and analysis skills for string-matching data structures that support one-edit queries and for binary tree traversal with coordinate-based ordering, testing understanding of data structures, search algorithms, sorting, and complexity analysis within the Coding & Algorithms domain.

    Coding & AlgorithmsTechnical Screen
  • BloombergMediumSoftware Engineer
    Solve three coding tasks from onsite

    This problem tests your ability to handle three distinct algorithmic scenarios: greedy logic for circular traversal, stack-based syntax validation, and state-space exploration on a 2D grid.

    Coding & AlgorithmsOnsiteGreedyStackGraph Search
  • BloombergMediumSoftware Engineer
    Solve two array and string problems

    This two-part question evaluates combinatorial enumeration and subset-generation concepts for arrays alongside string parsing and parentheses-sequence validation for noisy input, measuring algorithm design, correctness, and complexity reasoning in array and string contexts.

    Coding & AlgorithmsOnsite
  • BloombergMediumSoftware Engineer
    Validate whether brackets are properly nested

    This problem tests your ability to use a stack data structure to maintain LIFO ordering for matching paired symbols within a string.

    Coding & AlgorithmsTechnical ScreenStackStringData Structures
  • BloombergMediumData Engineer
    Write PostgreSQL string-manipulation query

    This question evaluates proficiency in PostgreSQL string manipulation, regular expressions, URL parsing, key-value parsing and timestamp-based filtering for data transformation tasks.

    Data Manipulation (SQL/Python)Technical Screen
  • BnpEasyData Scientist
    Explain and compute option delta

    Evaluates understanding of option delta, the differing intuitions/signs for calls versus puts, and the ability to compute deltas under the Black–Scholes model; commonly asked to assess quantitative reasoning about derivative sensitivities, model-based pricing, and hedging concepts.

    Software Engineering FundamentalsTechnical Screen
  • BnpEasyData Scientist
    Find expected tosses to see a coin pattern

    Assesses probabilistic reasoning and stochastic-process modeling skills, focusing on expected stopping times for pattern occurrences in repeated independent trials and related concepts like state-space representation and overlap effects.

    Software Engineering FundamentalsTechnical Screen
  • BnpEasyData Scientist
    How do you split coins to match heads?

    This question evaluates logical reasoning about invariants and combinatorial parity, testing the candidate's ability to design deterministic strategies under partial information; it falls under Software Engineering Fundamentals with relevance to probability and discrete mathematics for a Data Scientist role.

    Software Engineering FundamentalsTechnical Screen
  • BnpEasyData Scientist
    What are linear regression assumptions?

    Assesses understanding of the assumptions underlying ordinary least squares linear regression and the application of diagnostic methods to ensure unbiased parameter estimates and valid statistical inference.

    Machine LearningTechnical Screen
  • BnsfMediumSoftware Engineer
    Implement CRUD API and tests

    This question evaluates proficiency in implementing RESTful CRUD APIs, correct HTTP semantics and content negotiation (text/plain request bodies with JSON responses), robust error handling, and the ability to design unit tests from a function specification to cover edge cases and failure modes.

    Software Engineering FundamentalsOnline Assessment
  • BnsfMediumSoftware Engineer
    Implement a rail freight quote API service layer and scale it for slow dependencies

    Given a REST API requirements document for a rail freight quote endpoint that depends on other services and a database, write the service-layer logic. Then design an architecture that keeps the endpoint fast and reliable under heavy traffic when its dependencies are slow, covering caching, timeouts, fallbacks and asynchronous quotes.

    Software Engineering FundamentalsTechnical Screen