Next Smaller Element To The Right

medium
Input
Output
Click Run to execute
Previous
Next Greater Element To The Left
Next
Next Smaller Element To The Left

Related Questions