An open API service indexing awesome lists of open source software.

https://github.com/amri-tah/leetpath

A graph-based personalized LeetCode question recommender that uses probabilistic reasoning and topic modeling for skill enhancement.
https://github.com/amri-tah/leetpath

flask go leetcode leetcode-problem-recommendation-system leetcode-problem-recommender leetcode-recommender nextjs problem-recommender recommender

Last synced: 6 months ago
JSON representation

A graph-based personalized LeetCode question recommender that uses probabilistic reasoning and topic modeling for skill enhancement.

Awesome Lists containing this project

README

          

# **LeetPath: A Graph-Based LeetCode Question Recommender 🧭🔍**
![image](https://github.com/user-attachments/assets/de27890f-cf7e-42fa-9582-b3e0f4d5bc7b)

LeetPath is a personalized question recommendation system designed for LeetCode users. Using graph-based structures, topic modeling, and Markov Random Field, the system analyzes user interaction, question similarity, and topic relevance to suggest the most appropriate questions for continued skill improvement. 📈

## **Demo 🎥**

https://github.com/user-attachments/assets/c13063e2-c943-4b51-b664-545248d37f06

## **Features 🌟**

- 🔍 Personalized Recommendations: Suggests questions based on user activity and skills.
- 🧠 Topic Modeling: Groups questions by related topics for better understanding.
- 📊 Interactive Dashboard: Displays user stats and recommended questions.
- ⚡ Real-Time Performance: Fast and efficient recommendations using graph-based algorithms and belief propagation.

## **Tech Stack 🛠️**

![Tech_Stack](https://github.com/user-attachments/assets/683a321e-0ac2-4c12-9203-372a4e0cc072)

- **Frontend**: Next.js with Tailwind CSS for a responsive and interactive UI.
- **Backend**: **Flask** for API endpoints for the model and Go for fetching user data.
- **Database**: **MongoDB** for storing user data.
- **Authentication**: **Firebase** for secure user login and management.
- **GraphQL**: For efficient and flexible data querying.

## **Deployment and Hosting 💻**

- The recommendation engine is deployed on **Google Cloud Platform** using **App Engine**.
- The backend code is deployed on **OnRender**.
- The frontend is hosted on **Vercel**.

## **How It Works** 📊
- Question Similarity: Content-based filtering using TF-IDF and cosine similarity to recommend questions based on their content similarity.
- Topic Modeling: Grouping questions by latent topics using a custom topic modeling algorithm (similar to Latent Dirichlet Allocation).
- Markov Random Field (MRF): Models relationships between questions, accounting for user engagement, difficulty, and question similarities.
- Belief Propagation: Used to refine potential values in the MRF and improve recommendation accuracy.

## Screenshots
![landing](https://github.com/user-attachments/assets/cdf67be0-96aa-47d0-92a7-48512f315dad)
![Screenshot 2024-11-21 215125](https://github.com/user-attachments/assets/e8f932e7-d618-4645-9a2a-834f0612d981)
![Screenshot 2024-11-21 215155](https://github.com/user-attachments/assets/a9fad515-edb5-47b9-aeb5-a361f3770853)
![recommender page 1](https://github.com/user-attachments/assets/efeb391e-04ab-475f-8262-c375c7d3939e)
![profile](https://github.com/user-attachments/assets/031eea4d-d9f9-4b46-887a-ab97dfa1a208)

### Contributors








@VishalTheHuman
@amri-tah
@yeager209904
@GiriPrasath017


Vishal S
Amritha Nandini
Anerud Thiyagarajan
Giri Prasath R

## Contributing 🌟
We welcome contributions to enhance the functionality of LeetPath! If you have ideas or improvements, please submit a pull request . 🚀

## License 📜
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details . 📄

## Contact 📧
For any queries or support, please contact us at [amrithanandini2003@gmail.com](mailto:amrithanandini2003@gmail.com) or [vishalatmadurai@gmail.com](mailto:vishalatmadurai@gmail.com). We're here to help you!📬

Thank you for using LeetPath! Let's elevate your LeetCode experience together. 🚀💻