Skip to content

Kay-79/leet-code

Repository files navigation

LeetCode Daily Challenge

🎯 Goal: Solve at least one LeetCode problem every day and commit the solution to this repository. This is my journey to improve my algorithmic skills and programming ability day by day.

📅 Overview

  • Language: JavaScript or any other language I'm comfortable with.
  • Problem Types: Common algorithm topics on LeetCode like arrays, strings, trees, graphs, dynamic programming, greedy algorithms, etc.
  • Objective: Tackle problems of varying difficulty, from easy to hard, progressively enhancing analytical and problem-solving skills.

🗓 Commitment

  • I commit to solving and pushing at least one solution each day. Solutions are organized by date and problem name.

🧩 Directory Structure

  • Problems/[status]/[difficult]: Contains the solutions to the problems.
  • README.md: This document.

📈 Progress Tracking

  • Daily progress will be tracked in this repo.
  • The goal is to stay consistent and miss no days!

🚀 Setup

Rust

  • Install Rust by following the instructions on the official website.
  • Create main.rs in src folder depending on main.example.rs file.
  • Run cargo test to run the tests.

TypeScript

  • Install Bun by following the instructions on the official website.
  • Create main.test.ts in src folder depending on main.test.example.ts file.
  • Run bun install to install dependencies.
  • Run bun test .ts to run the tests.

JavaScript

  • Install Bun by following the instructions on the official website.
  • Create main.test.js in src folder depending on main.test.example.js file.
  • Run bun install to install dependencies.
  • Run bun test .js to run the tests.

🤝 Contributions

If you have suggestions or would like to discuss solutions, feel free to open an "Issue" or "Pull Request"!