Skip to content

A helpful guide to solving LeetCode problems in various languages. See solutions and how different implementations affect performance.

Notifications You must be signed in to change notification settings

theoliverlear/LeetCode-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode-Solutions


This repository contains my solutions to LeetCode problems. Each problem is solved in multiple languages including, but not limited to:

  • Java
  • Python
  • C
  • C++
  • TypeScript
  • JavaScript
  • C#
  • PHP
  • Go
  • Rust

Each folder corresponds to a specific problem and contains subfolders for each language. There are two ways I approach each problem, the optimized version and the clean version. They will each have their respective solutions in language sub-folders.

Problems Solved

Problem # Problem Name Tags Optimized Solutions Clean Solutions
0001 Two Sum Array, HashTable Link Link
0002 Adding Two Numbers Linked List, Math, Recursion Link Link
0003 Longest Substring Without Repeating Characters Hash Table, String, Sliding Window Link Link
0008 String to Integer (atoi) String Link Link
0012 Integer to Roman Hash Table, Math, String Link Link
0094 Binary Tree Inorder Traversal Binary Tree, Depth-First Search, Stack Link Link
0509 Fibonacci Number Recursion, Math, Memoization Link N/A
0912 Sort an Array Array, Sorting, Divide and Conquer Link N/A

About

A helpful guide to solving LeetCode problems in various languages. See solutions and how different implementations affect performance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published