Skip to content

leetcode pick: wrong constraints #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
heeh opened this issue Jun 6, 2021 · 1 comment
Closed

leetcode pick: wrong constraints #38

heeh opened this issue Jun 6, 2021 · 1 comment

Comments

@heeh
Copy link
Contributor

heeh commented Jun 6, 2021

Environment

Windows Terminal Preview, Alacrity

Steps to reproduce

leetcode pick 405

Expected

Constraints:
-231 <= num <= 231 - 1

What`s happening

Constraints:
-20 <= num <= 20 - 1

Comment

This problem is not just for 405. I have seen several problems that does not render 231 correctly.

There are two problems.

  1. Wrong number shows up in constraints.
  2. Superscript is not rendered.

"Superscript" works in some problems but sometimes it does not.
Could you point me to the corresponding module?

I don't think this is a terminal-dependent problem.

@heeh
Copy link
Contributor Author

heeh commented Jun 7, 2021

I was impatient and fixed it by myself at #39. Let me know if you have any suggestions.

@heeh heeh closed this as completed Jun 9, 2021
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

No branches or pull requests

1 participant