Skip to content

About

πŸš€ Personal TypeScript solutions for LeetCode problems. Covering Easy, Medium, and Hard problems across various data structures and algorithms.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ LeetCode Solutions in TypeScript

A collection of my LeetCode problem solutions implemented in TypeScript, focusing on clean code, optimal algorithms, and comprehensive test cases.

Here's my leetcode profile: https://leetcode.com/u/dosik210904/

πŸ“Š Progress Overview

TypeScript LeetCode

Language: TypeScript
Focus Areas: Data Structures, Algorithms, Problem Solving

πŸ› οΈ How to Run

Prerequisites

  • Node.js (v14 or higher)
  • TypeScript compiler

Setup

# Clone the repository
git clone https://github.com/DosymzhanKogabaev/leetcode-solutions.git
cd leetcode

# Install TypeScript globally (if not already installed)
npm install -g typescript

# Compile and run any solution
tsc [problem-number].ts && node [problem-number].js

# Example:
tsc 0002.ts && node 0002.js

Running Individual Solutions

Each file contains the solution function along with test cases. Simply compile and run:

# For problem 2 (Add Two Numbers)
tsc 0002.ts && node 0002.js

# For problem 3 (Longest Substring)
tsc 0003.ts && node 0003.js

🎨 Code Style

  • Language: TypeScript with strict type checking
  • Naming: Descriptive variable and function names
  • Comments: Clear explanations for complex logic
  • Testing: Comprehensive test cases included in some files

πŸ“ˆ Learning Journey

This repository represents my continuous journey in:

  • Algorithm Design - Implementing efficient solutions
  • Data Structures - Working with arrays, linked lists, sets, etc.
  • Problem Solving - Breaking down complex problems into manageable steps
  • TypeScript Mastery - Leveraging type safety and modern JS features

🀝 Contributing

While this is primarily a personal learning repository, suggestions and optimizations are welcome! Feel free to:

  • Open issues for discussion
  • Suggest alternative approaches
  • Point out optimizations

πŸ“š Resources

πŸ“« Connect

Feel free to connect with me to discuss algorithms, data structures, or any programming topics!


⭐ Star this repository if you find it helpful!

Last Updated: October 2025

About

πŸš€ Personal TypeScript solutions for LeetCode problems. Covering Easy, Medium, and Hard problems across various data structures and algorithms.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages