-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Random Problem Generation #170
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hello there, |
Hi @Shashank5665! Yes, please go ahead and let me know if you have any questions! |
Hey @Shashank5665! 😁 I'm checking in to see how you're doing and if I can provide any help/suggestions? |
Hello @seanprashad 😃, I was able to successfully set up the project in my system. But, I was not familiar with react tables, useMemo, and a few other things in this project, and currently, my college exams are going on too😐. So, I was a bit busy with that.. but yeah I am in the process of learning react and I will definitely complete this once my exams are over, which will get over within 2 weeks or so. |
Okay sounds good! Don't hesitate to let me know if you need help, or if you'd like to open this up for another contributor. Good luck in your exams! |
Hello @seanprashad, My exams are over :D and I am continuing with the feature, I created a button that when clicked generates a random question, but I have made it such that it opens a new tab and takes the user to the leetcode site with the generated random question. I am finding it a bit difficult in understanding the Header and Cell cuz of which I am not getting how to render the generated question as a row. |
Sounds like you're making solid progress so far! Do you have a branch that we could take a look at? Feel free to open a "Draft" Pull Request - that would make it much easier for me to concretely point you in the right direction! As far as I think we could place the "Random question" button inside the
Note that we'll need to add some JavaScript code to specify that "We want to customize this header with a random question button". We've actually already done this for the leetcode-patterns/src/components/Table/index.js Lines 289 to 309 in 8d25c76
Please let me know if anything is unclear - you've got this! 😁 |
Fixed with #240 |
Thank you so much @doranmartinez for opening this issue, I was able to implement this feature with the help of @seanprashad 🙌 |
Would be cool to have a button that randomly selected a problem to study.
The text was updated successfully, but these errors were encountered: