Skip to content

ArmanBehnam/Leetcode

Repository files navigation

Leetcode & Solutions

LeetCode user ArmanBehnam

Problems Solved by Category

A collection of my solutions to various LeetCode problems, implemented in Python and Java.

Array

  • Two Sum (#1)
  • Median of Two Sorted Arrays (#4)
  • Container With Most Water (#11)

View all array problems

Binary Search

  • Find First and Last Position (#34)
  • Search Insert Position (#35)
  • Sqrt(x) (#69)

View all binary search problems

Database

  • Combine Two Tables (#175)
  • Second Highest Salary (#176)
  • Nth Highest Salary (#177)

View all database problems

Dynamic Programming

  • Longest Palindromic Substring (#5)
  • Regular Expression Matching (#10)
  • Generate Parentheses (#22)

View all dynamic programming problems

Graph

  • Clone Graph (#133)
  • Course Schedule (#207)
  • Course Schedule II (#210)

View all graph problems

Greedy

  • Container With Most Water (#11)
  • Jump Game II (#45)
  • Jump Game (#55)

View all greedy problems

Hash Table

  • Two Sum (#1)
  • Longest Substring Without Repeating Characters (#3)
  • Integer to Roman (#12)

View all hash table problems

Math

  • Add Two Numbers (#2)
  • Reverse Integer (#7)
  • Palindrome Number (#9)

View all math problems

Matrix

  • Valid Sudoku (#36)
  • Rotate Image (#48)
  • Spiral Matrix (#54)

View all matrix problems

Sorting

  • 3Sum (#15)
  • 3Sum Closest (#16)
  • 4Sum (#18)

View all sorting problems

Stack

  • Valid Parentheses (#20)
  • Longest Valid Parentheses (#32)
  • Trapping Rain Water (#42)

View all stack problems

String

  • Longest Substring Without Repeating Characters (#3)
  • Longest Palindromic Substring (#5)
  • Zigzag Conversion (#6)

View all string problems

Tree

  • Binary Tree Inorder Traversal (#94)
  • Unique Binary Search Trees II (#95)
  • Unique Binary Search Trees (#96)

View all tree problems

Local Development

To use this repository:

git clone https://github.com/ArmanBehnam/Leetcode.git
cd Leetcode

Contributing

Feel free to open issues if you find any bugs or have suggestions for improvements.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •