InterviewDB Question

Chime SWE Phone - Best Time to Buy and Sell Stock

Question Details

Problem

Given stock prices over days, find the maximum profit from a single buy-sell transaction.

Likely LeetCode equivalent

LeetCode 121 - Best Time to Buy and Sell Stock.

Tags

arrays, greedy, dynamic_programming

Full Details

Problem

Given stock prices over days, find the maximum profit from a single buy-sell transaction.

Likely LeetCode equivalent

LeetCode 121 - Best Time to Buy and Sell Stock.

Tags

arrays, greedy, dynamic_programming

About This Question

This is a reported interview question from a chime interview during the phone round.

It covers the following topics: Dynamic Programming, Phone, Greedy, Coding, Arrays, Onsite .