Skip to content

L1aoXingyu/leetcode-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Leetcode/Lintcode-python

This is my leetcode solutions with python

Introduction

409.Longest Palindrome

125.Valid Palindrome

28.Implement strStr()

200.Longest Palindromic Substring

* 594.strStr ll

Binary Search

235.Prime Factorization

457.Classical Binary Search

Position of Target

74.First Bad Version

460.Find K Closest Elements

447.Search in a Big Sorted Array

159.Find Minimum in Rotated Sorted Array

75.Find Peak Element

62.Search in Rotated Sorted Array

140.Fast Power

428.Pow(x, n)

845.Greatest Common Divisor

39.Recover Rotated Sorted Array

8.Rotate String

Two Pointers

56.Two Sum

415.Valid Palindrome

891.Valid Palindrome II

521.Remove Duplicate Number

604.Window Sum

610.Two Sum - Difference equals to target

228.Middle of Linked List

464.Sort Integers II

5.Kth Largest Elemenet

607.Two Sum III - Data structure design

539.Move Zeroes

608.Two Sum II

102.Linked List Cycle

103.Linked List Cycle II

380.Intersection of Two Linked Lists

148.Sort Colors

894.Pancake Sorting

587.Two Sum - Unique paris

57.3Sum

382.Trangle Count

609.Two Sum - Less than or eqaul to target

443.Two Sum - Greater than target

533.Two Sum - Closest to target

59.3Sum Closest

58.4Sum

610.Two Sum - Difference equals to target

31.Partion Array

461. Kth Smallest Numbers in Unsorted Array

373. Partition Array by Odd and Even

144. Interleaving Positive and Negative Numbers

49. Sort Letters by Case

143. Sort Colors II

BFS

127. Topological Sorting

69. Binary Tree Level Order Traversal

7. Serialize and Deserialize Binary Tree

70. Binary Tree Level Order Traversal II

71. Binary Tree Zigzag Level Order Traversal

242. Convert Binary Tree to Linked Lists by Depth

137. Clone Graph

120. Word Ladder

433. Number of Islands

611. Knight Shortest Path

615. Course Schedule

616. Course Schedule II

892. Alien Dictionary

605. Sequence Reconstruction

178. Graph Valid Tree

618. Search Graph Nodes

431. Connected Component in Undirected Graph

598. Zombie in Matrix

573. Build Post Office II

814. Shortest Path in Undirected Graph

630. Knight Shortest Path II

About

This is my leetcode solutions with python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published