Engineering Director Interview Questions

1,160 engineering director interview questions shared by candidates

You are given an array of integers representing the daily prices of a stock, where the 𝑖 i-th element is the price of the stock on day 𝑖 i. You want to maximize your profit by choosing a single day to buy one stock and a different day in the future to sell that stock. Write a function that calculates the maximum profit you can achieve. If no profit is possible, return
avatar

Director of Engineering

Interviewed at Octi

2.7
Nov 19, 2024

You are given an array of integers representing the daily prices of a stock, where the 𝑖 i-th element is the price of the stock on day 𝑖 i. You want to maximize your profit by choosing a single day to buy one stock and a different day in the future to sell that stock. Write a function that calculates the maximum profit you can achieve. If no profit is possible, return

Viewing 261 - 270 interview questions

Glassdoor has 1,160 interview questions and reports from Engineering director interviews. Prepare for your interview. Get hired. Love your job.