Skip to content

Conversation

@TejasRK007
Copy link

Updated the monotonic stack implementation to correctly remove leading zeros after reversing the output.

  • Fixed while loop condition
  • Ensured compliance with LeetCode constraints

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant