Member Technical Staff Interview Questions

11,191 member technical staff interview questions shared by candidates

Round 1: You are given an array prices where prices[i] is the price of a given stock on the ith day. You want to maximize your profit by choosing a single day to buy one stock and choosing a different day in the future to sell that stock. Return the maximum profit you can achieve from this transaction. If you cannot achieve any profit, return 0.
avatar

Senior Member of Technical Staff

Interviewed at VMware

4.4
Aug 7, 2021

Round 1: You are given an array prices where prices[i] is the price of a given stock on the ith day. You want to maximize your profit by choosing a single day to buy one stock and choosing a different day in the future to sell that stock. Return the maximum profit you can achieve from this transaction. If you cannot achieve any profit, return 0.

Viewing 511 - 520 interview questions

Glassdoor has 11,191 interview questions and reports from Member technical staff interviews. Prepare for your interview. Get hired. Love your job.