Apple logoApple
CodingMembers

Best Time to Buy and Sell Stock II

Members only

You are given an integer array prices where prices[i] is the price of a given stock on the ith day.

SWE
easy
array
greedy
Frequency
Single report
Last asked
2026-03-09
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...