Code Monkey home page Code Monkey logo

leetcode's Introduction

LeetCode Solutions

This repository contains Python, Java and C++ solutions to LeetCode questions.

Completed Questions

Easy

Number Title
1 Two Sum
9 Palindrome Number
13 Roman to Integer
14 Longest Common Prefix
20 Valid Parentheses
21 Merge Two Sorted Lists
26 Remove Duplicates from Sorted Array
27 Remove Element
28 Implement strStr()
35 Search Insert Position
58 Length of Last Word
66 Plus One
69 Sqrt(x)
83 Remove Duplicates from Sorted List
94 Binary Tree Inorder Traversal
100 Same Tree
104 Maximum Depth of Binary Tree
118 Pascal's Triangle
119 Pascal's Triangle II
125 Valid Palindrome
136 Single Number
141 Linked List Cycle
144 Binary Tree Preorder Traversal
160 Intersection of Two Linked Lists
169 Majority Element
171 Excel Sheet Column Number
206 Reverse Linked List
234 Palindrome Linked List
242 Valid Anagram
258 Add Digits
338 Counting Bits
344 Reverse String
389 Find the Difference
392 Is Subsequence
680 Valid Palindrome II
700 Search in a Binary Search Tree
703 Kth Largest Element in a Stream
897 Increasing Order Search Tree
941 Valid Mountain Array
1337 The K Weakest Rows in a Matrix
1480 Running Sum of 1d Array
1672 Richest Customer Wealth

Medium

Number Title
2 Add Two Numbers
3 Longest Substring Without Repeating Characters
5 Longest Palindromic Substring
11 Container With Most Water
15 3Sum
17 Letter Combinations of a Phone Number
19 Remove Nth Node From End of List
22 Generate Parentheses
24 Swap Nodes in Pairs
33 Search in Rotated Sorted Array
39 Combination Sum
59 Spiral Matrix II
78 Subsets
99 Recover Binary Search Tree
102 Binary Tree Level Order Traversal
133 Clone Graph
134 Gas Station
142 Linked List Cycle II
148 Sort List
165 Compare Version Numbers
167 Two Sum II
173 Binary Search Tree Iterator
199 Binary Tree Right Side View
230 Kth Smallest Element in a BST
402 Remove K Digits
413 Arithmetic Slices
456 132 Pattern
560 Subarray Sum Equals K
581 Shortest Unsorted Continuous Subarray
669 Trim a Binary Search Tree
1209 Remove All Adjacent Duplicates in String II
1288 Removed Covered Intervals
1679 Max Number of K-Sum Pairs
1721 Swapping Nodes in a Linked List

Hard

Number Title
23 Merge k Sorted Lists

leetcode's People

Contributors

nikolasnorth avatar

Watchers

James Cloos avatar  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.