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/
Language: TypeScript
Focus Areas: Data Structures, Algorithms, Problem Solving
- Node.js (v14 or higher)
- TypeScript compiler
# 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.jsEach 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- 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
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
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
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