Summer Research Intern Interview Questions

12,927 summer research intern interview questions shared by candidates

Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction (i.e., buy one and sell one share of the stock), design an algorithm to find the maximum profit. Note that you cannot sell a stock before you buy one.
avatar

Summer Technology Analyst Intern

Interviewed at Goldman Sachs

3.7
Mar 6, 2019

Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction (i.e., buy one and sell one share of the stock), design an algorithm to find the maximum profit. Note that you cannot sell a stock before you buy one.

Viewing 601 - 610 interview questions

Glassdoor has 12,927 interview questions and reports from Summer research intern interviews. Prepare for your interview. Get hired. Love your job.