Array
2140. Solving Questions With Brainpower
Given questions[i] = [points, brainpower]: solving question i earns points but forces you to skip the next brainpower questions. Questions are considered in order; for each, solve or skip. Maximise…
Loading…