Machine Designer Interview Questions

10,797 machine designer interview questions shared by candidates

They asked me to write code to determine when to buy and sell a stock for maximum profit, given perfect information about its price over time (including the future). You are given a list of numbers indicating the stock's value each day. Each day you can choose to buy or sell.
avatar

Machine Learning Engineer Graduate

Interviewed at TikTok

3.2
Dec 19, 2023

They asked me to write code to determine when to buy and sell a stock for maximum profit, given perfect information about its price over time (including the future). You are given a list of numbers indicating the stock's value each day. Each day you can choose to buy or sell.

Viewing 921 - 930 interview questions

Glassdoor has 10,797 interview questions and reports from Machine designer interviews. Prepare for your interview. Get hired. Love your job.