-
Notifications
You must be signed in to change notification settings - Fork 19
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
LeetCode support #50
Comments
Possibly. Depends on how many people want it. |
You reopened it to count how many people would expect leetcode support? I don't know cf, but as far as I know, only novices like me will copy the code to the local IDE among Leetcode users, and Leetcode only needs to implement a class, so the IDE plug-in may not be very useful. But I very much hope, if possible, to add support for simulation problems to Leetcode. When the input data represents a function call and the corresponding parameters, the user can simply input the string itself, and then view the result at the i-th position, just like this. Instead of manually writing a lot of things such as Solution s;
s->func1(...)
s->func2(...)
... If you plan to add support for leetcode, I hope you can add this feature. |
The issue is open to track progress of this feature request, including user comments/plus-ones (although I can't give any ETA). Thanks for detailed explanation of simulation problems. I can't read Chinese, but I assume it's similar to Dinner Plate Stacks. |
I saw this question in the《crack the coding interview》. The Chinese site LeetCode puts all the questions in this book into one topic, so I don't know its official title number. |
@KargathEx I added basic support for LeetCode and published a beta release here. I'd appreciate if you could test this out. Regarding "simulation problems" -- do you have more examples, or maybe there's a general way to search for them? Note that quite a few LeetCode problems involve custom structures, like TreeNode. Those are not yet supported either. |
Thanks, I will try it! |
simulation problems:https://leetcode.com/tag/simulation/ |
Asking an unrelated question, how do you guys debug simulation problems while playing at codeforce, I find it too hard to keep track of its state in my head, and too tiring to manually write code that simulates function calls. |
https://www.boost.org/doc/libs/develop/libs/describe/doc/html/describe.html#example_json_rpc |
It works fine. but Error for this link: |
Thanks! I found a better tag: https://leetcode.com/tag/design/
I don't really have experience with those, do you have example URLs?
Thanks! The problem is with multi-dimensional vectors. This will be fixed in release version. |
Sorry I just noticed that link is inaccessible , update: |
@KargathEx I published another beta release that should support majority of LeetCode problems: https://github.com/slycelote/caide/releases/tag/v2.10.0-beta2 |
Published 2.10 release |
Very much looking forward to
The text was updated successfully, but these errors were encountered: