Inspiration

Leetcoding is a crucial part of success in landing a job, yet many of us struggle to keep up with our Leetcode streak. LeetRizz was inspired by the idea of turning this challenge into a motivating and interactive experience. We wanted to combine practical Leetcode recommendations with a playful twist, introducing an AI girlfriend that cheers you on and keeps you accountable. It's a blend of productivity and fun, designed to help users stay on track with their coding practice while receiving personalized encouragement.

What it does

LeetRizz helps users stay consistent with their Leetcode practice by analyzing their recent problem-solving activity. By inputting their Leetcode username, the app retrieves the top three most recent problems they've completed and recommends three additional problems that align with their skills and progress. It also displays key statistics about the user’s performance and progress. On top of that, the app features an AI girlfriend who offers personalized motivation and encouragement, making the coding journey feel less lonely and more engaging.

How we built it

We built LeetRizz using React for the front end, BeautifulSoup and Selenium to webscrape for Leetcode data, and OpenAI API and NodeJS for the AI girlfriend feature.

Challenges we ran into

Balancing the motivational tone of the AI girlfriend without making it repetitive or intrusive required several iterations and fine-tuning of our prompts. The AI girlfriend also sometimes hurt our feelings about how bad our Leetcode progress was and negatively affected our morale for the hackathon.

Accomplishments that we're proud of

We’re proud of successfully building a functional app that not only recommends problems but also adds a unique element of encouragement. Creating the AI girlfriend feature was especially fun and a standout accomplishment—it adds personality to what could otherwise be a routine coding assistant.

What we learned

Throughout the development of LeetRizz, we deepened our understanding of React, learning how to work with different components, manage state, and effectively use hooks. We also gained experience with handling POST requests and interacting with APIs. Integrating the OpenAI API taught us how to utilize AI tools to generate dynamic, conversational responses. Additionally, we learned the basics of web scraping, which helped us retrieve data efficiently from Leetcode.

What's next for LeetRizz

In the future, we plan to expand the AI interaction by introducing a variety of characters, allowing users to choose from different girlfriends and boyfriends for a more personalized experience. Each character will have their own personality and style of encouragement, making the interactions more engaging and fun. Additionally, we aim to enhance the dating sim aspect by going beyond just chatbot conversations. Users will be able to build deeper connections with their chosen character through mini-games, progress tracking, and interactive storylines that evolve based on their coding activity.

Share this project:

Updates