Coinbase Software Engineer Mock Interview

Practice 30 Coinbase Software Engineer interview questions covering blockchain systems, distributed architecture, and crypto platform design.

WRITTEN BY WILLIAM SWANSEN
QUESTION 8 OF 30

How would you implement Dijkstra's Shortest Path using a programming language with which you are familiar?

When asked about how you would implement a procedure or perform an operation, the interviewer hopes to learn more about how you go about doing the job for which you are interviewing. This is known as an operational question. When answering an operational question, you should walk the interviewer through the process briefly and directly. It may help break the process down into smaller steps to help the interviewer better understand your methodology. You should be prepared for follow-up questions any time you answer an operational question.

"When programming in Ruby, I would implement Dijkstra's Shortest Path by creating an algorithm to identify the shortest path between two nodes which have positive-edge weights within the graph. I would first query my libraries to see if I have done this before or if another developer has already created a similar algorithm. If not, I would follow the guidelines within Ruby to accomplish this."

William Swansen
30 QUESTIONS & ANSWERS · COINBASE
See membership