Bloomberg SWE Interview Question 2024 January | Graph DFS | on-campus
Question · Posted Jun 2026
Question 1: Evaluate Division Problem Statement You are given an array of variable pairs equations and an array of real numbers values, where equations[i] = [Ai, Bi] and values[i] represent the equation Ai / Bi = values[i]. Each Ai or Bi is a string that represents a single variable. You are also given some queries, where queries[j] = [Cj, Dj] represents the query Cj / Dj = ?. Return the answers to all queries. If a single answer cannot be ...
The full answer & interview discussion are available to premium members.
Log in Create a free account