/my-leetcode-diary

The place where I update my Leetcode solutions

My Leetcode Diary

Introduction

This repository provides my solutions to the Leetcode problems. I will keep it updated according to my progress.

Structure

Leetcode contains a ton of problems, each problem requires a set of skills. Furthermore, these skills are categorized into 3 groups:

You can click on any skill mentioned above to see its corresponding problem list, which is being updated. Please be noted that one problem may relate to different skills, so it will appear on several lists.

Problem information

Each problem contains this information:

  • Number: the problem number.
  • Difficulty: difficulty level, one of Easy, Medium, and Hard.
  • Title: the problem title and the corresponding Leetcode link.
  • Solution: my solution to the problem, might be implemented in C++, Python, or other languages. Admittedly, most of the solutions are implemented in C++.
  • Status: status of the solution, one of AC, TLE (x/y) and MLE (x/y)
    • If the status is AC, it does mean the solution passes every test case (Acccepted Code).
    • If the status is TLE (x/y), it does mean the solution gets Time Limit Exceeded after passing x test cases over y test cases in total.
    • If the status is MLE (x/y), it does mean the solution gets Memory Limit Exceeded after passing x test cases over y test cases in total.