First off, let’s start with the problem statement.

You may also find the problem statement above.

In short, we are given an array of temperatures and we are required to output a result array filled with indices that indicate the smallest number of days we have to wait to come…

Kester Zhou

CMU student, software developer, cat-lover, coffee-fanatic and audiophile.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store