Full Stack Software Engineer Interview Questions

19,496 full stack software engineer interview questions shared by candidates

Best Time to Buy and Sell Stock Input: prices = [7,1,5,3,6,4] Output: 5 Explanation: Buy on day 2 (price = 1) and sell on day 5 (price = 6), profit = 6-1 = 5. Note that buying on day 2 and selling on day 1 is not allowed because you must buy before you sell.
avatar

Full Stack Software Engineer

Interviewed at Cimpress

4
Jan 8, 2025

Best Time to Buy and Sell Stock Input: prices = [7,1,5,3,6,4] Output: 5 Explanation: Buy on day 2 (price = 1) and sell on day 5 (price = 6), profit = 6-1 = 5. Note that buying on day 2 and selling on day 1 is not allowed because you must buy before you sell.

Viewing 2341 - 2350 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 19,496 interview questions and reports from Full stack software engineer interviews. Prepare for your interview. Get hired. Love your job.