GithubHelp home page GithubHelp logo

cellwebb / leetcode-python Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 136 KB

My Python3 solutions to LeetCode programming questions

Python 100.00%
leetc leetcode leetcode-practice leetcode-python leetcode-solutions

leetcode-python's Introduction

Python Solutions to LeetCode Problems

All solutions and solution explanations are my own.

** = Hard Difficulty

#11: Container With Most Water

  • Links: Solution
  • Concepts: Sliding Window, Two Pointers

#21: Container With Most Water

  • Links: Problem - Solution
  • Concepts: Linked Lists, Priority Queues (Heap Queue)

#40: Combination Sum II

  • Links: Problem - Solution
  • Concepts: Depth-First Search, Dynamic Programming

#41: First Missing Positive**

#51: N-Queens**

#72: Edit Distance**

  • Links: Problem - Solution
  • Concepts: Depth-First Search, Dynamic Programming

#83: Remove Duplicates from Sorted List

#84: Largest Rectangle in Histogram**

  • Links: Solution
  • Concepts: Queues, Stacks

#90: Subsets II

#97: Interleaving String

#118: Pascal's Triangle

#143: Reorder List

  • Links: Solution
  • Concepts: Linked Lists, Double-Ended Queues

#146: LRU Cache

  • Links: Solution
  • Concepts: Classes, Ordered Hash Tables

#198: House Robber

  • Links: Solution
  • Concepts: Dynamic Programming

#239: Sliding Window Maximum

  • Links: Solution
  • Concepts: Sliding Windows, Priority Queues

#283: Move Zeroes

#300 - Longest Increasing Subsequence

  • Links: Solution
  • Concepts: Dynamic Programming, Memoization

#392 - Is Subsequence

#658: Find K Closest Elements

#678: Valid Parenthesis String

  • Links: Solution
  • Concepts: Double-Ended Queues

#688: Valid Palindrome II (Beats 99.69%)

#746: Min Cost Climbing Stairs

#846: Hand of Straights

  • Links: Solution
  • Concepts: Counters, Set Operations

#929 Unique Email Addresses

#2013: Detect Squares

  • Links: Solution
  • Concepts: Geometry, Classes

leetcode-python's People

Contributors

cellwebb avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.