Python Interview with a Microsoft Engineer: Currency Conversion

This is a mock Python Interview with a Microsoft engineer, where the prospective candidate must tackle a [Hard] Python Question. The question, "Currency Conversion", requires candidates to take given parameters (array of conversion rates) and find the conversion rate that maps to the 'from' currency to the 'to' currency for every single query. Although easy sounding at first, this can prove to be quite tricky! This solution is done using a bidirectional weighted graph and the BFS method. Keep an eye out for how the candidate deals with edge cases and breaks down the overall problem!

👉 Get $100 off your first professional mock interview with this link!: https://iio.sh/r/CQ76

📖 Check out feedback from the Microsoft interviewer and the full transcript on https://interviewing.io/recordings/Python-Microsoft-18

📘 Or view other python interviews: https://interviewing.io/python-interview-questions

❗ Disclaimer: All interviews are shared with explicit permission from the interviewer and the interviewee, and all interviews are anonymous. interviewing.io has the sole right to distribute this content.

TIMESTAMPS
00:00 Start
01:10 Introductions
04:54 Starter Question - Group Anagrams
16:30 Main Question - Currency Conversion
51:50 Feedback

Home