Inspiration

During this winter holiday, we tried to play with LeetCode on some days to hone our skills and knowledge in data structures and algorithms. However, the holiday mode came to us, and without many checks, we soon succumbed to temptations.. That was when we decided that we needed something to police us, to keep up on track towards our goals

What it does

It is a (chromium) browser extension that will block common, tempting websites when a LeetCode question has not been solved yet by the user. Only when the given LeetCode question has been solved can the user continue to browse the internet online as per usual. We add an options page to help allow users personalize the questions that they will get.

How we built it

We used the tried-and-true approach of HTML, JS and CSS to build the extension.

Challenges we ran into

We faced many issues with the security system of browsers, in particular when it comes to redirecting to specific webpages of our desire and fetching data from APIs. This is because extensions are not given as much freedom when it comes to these things

Accomplishments that we're proud of

We're proud that we could complete an MVP in a short while, despite all the challenges and changes to the plan that needed to be made!

What we learned

Making an extension is hard... But we were able to refresh our knowledge in the basics of HTML, JS and CSS because of this!

What's next for Code to Win

There are a few more nice-to-haves that can be included, such as statistics gathering to understand which topic a user is stronger and/or weaker at, and then provide questions only within the scope. We can also possibly make it as an application, something akin to Examplify. This would allow for easier addition of new features

Share this project:

Updates