Skip to content

pertrai1/coding-challenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Coding Challenges

A comprehensive collection of coding challenges from multiple platforms for learning data structures, algorithms, and frontend engineering.

πŸ“Š Overview

Platform Focus Area Problems Solved
LeetCode Data Structures & Algorithms 166
GreatFrontEnd Frontend Engineering 8

🎯 Platforms

🟒 LeetCode

Focus: Data structures, algorithms, and problem-solving patterns

Progress:

  • Easy: 80 problems
  • Medium: 72 problems
  • Hard: 14 problems

Quick Links:

Resources:


🎨 GreatFrontEnd

Focus: Frontend engineering, JavaScript fundamentals, and system design

Progress:

  • GFE 75: 5/75 problems
  • Blind 75: 3/75 problems

Quick Links:

Coming Soon:

  • Frontend System Design

πŸ“š Learning Resources

Algorithmic Patterns

Topic Guides

Interview Preparation

πŸ” Problems by Difficulty

🟒 Easy Problems (80 solved)

Array & String

Easy Tree Problems

Math & Bit Manipulation

Hash Table & Map

JavaScript/TypeScript

🟑 Medium Problems (71 solved)

Stack & Design

Array & Two Pointers

Linked List

Medium Tree Problems

String Manipulation

Dynamic Programming

Math & Number Theory

Graph & Grid Problems

Medium JavaScript/TypeScript

πŸ”΄ Hard Problems (14 solved)

Array & Dynamic Programming

Backtracking & Trie

Graph Problems

πŸ“ˆ Problems by Pattern

Two Pointers

Sliding Window

Hash Table / Hash Map

Dynamic Programming Pattern

Graphs (BFS/DFS)

πŸš€ Getting Started

Structure

Each problem directory contains:

  • README.md - Problem description and examples
  • Solution file(s) in JavaScript/TypeScript
  • Test files (where applicable)
  • Auto-generated analysis files in docs/analysis/

Running Solutions

# Navigate to a problem directory
cd leetcode/easy/0001-two-sum

# Run the solution
node two-sum.js

Running Tests

# Install dependencies
npm install

# Run all tests
npm test

# Run specific test
npm test -- two-sum.test.js

🀝 Contributing

This is a personal learning repository, but suggestions and improvements are welcome! Please follow the guidelines in CLAUDE.md when contributing.

πŸ“ Code Review

All solutions in this repository follow strict review guidelines. See CLAUDE.md for:

  • Algorithm correctness criteria
  • Complexity analysis standards
  • Code quality expectations
  • DSA learning focus areas

πŸ”„ Spaced Repetition System

This repository includes an automated spaced repetition system for problem review:

  • Reviews scheduled at 1, 3, 7, 14, and 30 days after solving
  • Automatic GitHub issue creation for review reminders
  • Progress tracking in docs/reviews/review-schedule.json

Learn more: Interview Workflow Documentation

Contributors 7