Skip to content

Instantly share code, notes, and snippets.

@leonmak
Created February 1, 2019 05:41
Show Gist options
  • Select an option

  • Save leonmak/ec3acba540e2137752ae1a0b11470bc3 to your computer and use it in GitHub Desktop.

Select an option

Save leonmak/ec3acba540e2137752ae1a0b11470bc3 to your computer and use it in GitHub Desktop.
leetcode locked questions
id difficulty title
253 Medium Meeting Rooms II
269 Hard Alien Dictionary
681 Medium Next Closest Time
159 Hard Longest Substring with At Most Two Distinct Characters
642 Hard Design Search Autocomplete System
158 Hard Read N Characters Given Read4 II - Call multiple times
683 Hard K Empty Slots
716 Easy Max Stack
755 Medium Pour Water
489 Hard Robot Room Cleaner
348 Medium Design Tic-Tac-Toe
362 Medium Design Hit Counter
426 Medium Convert Binary Search Tree to Sorted Doubly Linked List
277 Medium Find the Celebrity
314 Medium Binary Tree Vertical Order Traversal
339 Easy Nested List Weight Sum
364 Medium Nested List Weight Sum II
759 Hard Employee Free Time
772 Hard Basic Calculator III
285 Medium Inorder Successor in BST
244 Medium Shortest Word Distance II
280 Medium Wiggle Sort
723 Medium Candy Crush
346 Easy Moving Average from Data Stream
250 Medium Count Univalue Subtrees
317 Hard Shortest Distance from All Buildings
251 Medium Flatten 2D Vector
751 Easy IP to CIDR
311 Medium Sparse Matrix Multiplication
248 Hard Strobogrammatic Number III
428 Hard Serialize and Deserialize N-ary Tree
308 Hard Range Sum Query 2D - Mutable
694 Medium Number of Distinct Islands
170 Easy Two Sum III - Data structure design
635 Medium Design Log Storage System
272 Hard Closest Binary Search Tree Value II
727 Hard Minimum Window Subsequence
247 Medium Strobogrammatic Number II
582 Medium Kill Process
157 Easy Read N Characters Given Read4
340 Hard Longest Substring with At Most K Distinct Characters
271 Medium Encode and Decode Strings
465 Hard Optimal Account Balancing
734 Easy Sentence Similarity
490 Medium The Maze
545 Medium Boundary of Binary Tree
325 Medium Maximum Size Subarray Sum Equals k
305 Hard Number of Islands II
359 Easy Logger Rate Limiter
161 Medium One Edit Distance
379 Medium Design Phone Directory
323 Medium Number of Connected Components in an Undirected Graph
163 Medium Missing Ranges
286 Medium Walls and Gates
296 Hard Best Meeting Point
708 Medium Insert into a Cyclic Sorted List
266 Easy Palindrome Permutation
243 Easy Shortest Word Distance
353 Medium Design Snake Game
737 Medium Sentence Similarity II
270 Easy Closest Binary Search Tree Value
471 Hard Encode String with Shortest Length
562 Medium Longest Line of Consecutive One in Matrix
366 Medium Find Leaves of Binary Tree
246 Easy Strobogrammatic Number
261 Medium Graph Valid Tree
505 Medium The Maze II
252 Easy Meeting Rooms
351 Medium Android Unlock Patterns
361 Medium Bomb Enemy
291 Hard Word Pattern II
774 Hard Minimize Max Distance to Gas Station
254 Medium Factor Combinations
418 Medium Sentence Screen Fitting
616 Medium Add Bold Tag in String
776 Medium Split BST
281 Medium Zigzag Iterator
265 Hard Paint House II
549 Medium Binary Tree Longest Consecutive Sequence II
298 Medium Binary Tree Longest Consecutive Sequence
527 Hard Word Abbreviation
302 Hard Smallest Rectangle Enclosing Black Pixels
750 Medium Number Of Corner Rectangles
186 Medium Reverse Words in a String II
255 Medium Verify Preorder Sequence in Binary Search Tree
259 Medium 3Sum Smaller
800 Easy Similar RGB Color
568 Hard Maximum Vacation Days
256 Easy Paint House
276 Easy Paint Fence
156 Medium Binary Tree Upside Down
533 Medium Lonely Pixel II
597 Easy Friend Requests I: Overall Acceptance Rate
369 Medium Plus One Linked List
360 Medium Sort Transformed Array
608 Medium Tree Node
358 Hard Rearrange String k Distance Apart
548 Medium Split Array with Equal Sum
742 Medium Closest Leaf in a Binary Tree
249 Medium Group Shifted Strings
370 Medium Range Addition
544 Medium Output Contest Matches
245 Medium Shortest Word Distance III
333 Medium Largest BST Subtree
288 Medium Unique Word Abbreviation
663 Medium Equal Tree Partition
499 Hard The Maze III
580 Medium Count Student Number in Departments
702 Medium Search in a Sorted Array of Unknown Size
536 Medium Construct Binary Tree from String
531 Medium Lonely Pixel I
586 Easy Customer Placing the Largest Number of Orders
588 Hard Design In-Memory File System
267 Medium Palindrome Permutation II
320 Medium Generalized Abbreviation
444 Medium Sequence Reconstruction
425 Hard Word Squares
356 Medium Line Reflection
579 Hard Find Cumulative Salary of an Employee
613 Easy Shortest Distance in a Line
760 Easy Find Anagram Mappings
614 Medium Second Degree Follower
602 Medium Friend Requests II: Who Has the Most Friends
294 Medium Flip Game II
408 Easy Valid Word Abbreviation
293 Easy Flip Game
584 Easy Find Customer Referee
431 Hard Encode N-ary Tree to Binary Tree
758 Easy Bold Words in String
711 Hard Number of Distinct Islands II
666 Medium Path Sum IV
660 Hard Remove 9
656 Hard Coin Path
651 Medium 4 Keys Keyboard
644 Hard Maximum Average Subarray II
634 Medium Find the Derangement of An Array
631 Hard Design Excel Sum Formula
625 Medium Minimum Factorization
624 Easy Maximum Distance in Arrays
619 Easy Biggest Single Number
618 Hard Students Report By Geography
615 Hard Average Salary: Departments VS Company
612 Medium Shortest Distance in a Plane
610 Easy Triangle Judgement
607 Easy Sales Person
604 Easy Design Compressed String Iterator
603 Easy Consecutive Available Seats
585 Medium Investments in 2016
578 Medium Get Highest Answer Rate Question
577 Easy Employee Bonus
574 Medium Winning Candidate
573 Medium Squirrel Simulation
571 Hard Find Median Given Frequency of Numbers
570 Medium Managers with at Least 5 Direct Reports
569 Hard Median Employee Salary
555 Medium Split Concatenated Strings
487 Medium Max Consecutive Ones II
484 Medium Find Permutation
469 Medium Convex Polygon
439 Medium Ternary Expression Parser
422 Easy Valid Word Square
411 Hard Minimum Unique Word Abbreviation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment