LeetCode problem recommender
Ian Pires de Campos

Ian Pires de Campos @ipcampos

About: A chemist learning about software development

Joined:
Jun 5, 2025

LeetCode problem recommender

Publish Date: Jun 6
0 0

Codecademy portfolio project: Recommendation software app

Introduction

Ever felt lost in the endless LeetCode problem list? I did too! That's how I got the idea to build LeetRec - A simple python terminal app that recommends LeetCode problems based on topic and difficulty -
This project was my way of reinforcing core data structure concepts like hashmaps and linked lists while building something useful.

What is LeetRec

A lightweight command line tool to help you search for some LeetCode problems by asking:

  • What topic are you studying? (e.g., Graphs, Trees...)
  • What difficulty do you want? (Easy, Medium, Hard) It then shows a list of problems based on your answers with direct links to LeetCode.

Image description

How does it work?

  • A problem dataset keeps everything organized;
  • A custom HashMap stores topics and difficulty levels;
  • A LinkedList holds the problems for each topic;
  • A terminal interface, main.py, connects everything together

If you want to see the source code, checkout my project repository at GitHub.

Final Thoughts

LeetRec started as a way to brush up on data structures, but it turned out to be a fun little tool I actually use. Building your own hash maps and linked lists might sound nerdy (because it is), but it’s also a great way to make learning stick — and way more fun than solving isolated exercises.

Comments 0 total

    Add comment