Mastering Currency Conversion: My Positive Axon Software Engineer Interview Journey

axon | Software Engineer | Interview Experience

Interview Date: Not specified
Result: Pass
Difficulty: Easy

Interview Process

The interview consisted of a technical phone interview conducted by a recruiter. The focus was primarily on algorithmic problem-solving.

Technical Questions

  1. Currency Conversion (Graph, Depth-First Search, Breadth-First Search)

    • Problem Statement: You are given a list of currency exchange rates represented as [fromCurrency, toCurrency, rate]. You need to answer queries that ask for the exchange rate between two currencies. If the conversion is not possible, return -1.0.
    • Example:
      • Input:
        rates = [
          ["USD","EUR",0.9],
          ["EUR","JPY",120.0]
        ]
        queries = [
          ["USD","JPY"],
          ["JPY","USD"],
          ["USD","GBP"]
        ]
        
      • Output: [108.0, 1/108.0, -1.0]
  2. Evaluate Division (Graph, Depth-First Search, Breadth-First Search)

Tips & Insights

  • Focus on understanding graph traversal techniques, as they are crucial for solving problems related to currency conversion and division evaluation.
  • Practice similar LeetCode problems to build confidence in algorithmic thinking.