200 LeetCode problems

Related tags

MiscellaneousLeetCode
Overview

LeetCode

I classify 200 leetcode problems into some categories and upload my code to who concern


WEEK 1

# Title Difficulty
Array
15 3Sum Medium
1324 Print Words Vertically Medium
566 Reshape the Matrix Easy
763 Partition Labels Medium

WEEK 2

# Title Difficulty
Two Pointers
350 Intersection of Two Arrays II Easy
560 Subarray Sum Equals K Medium
1234 Replace the Substring for Balanced String Medium
632 Smallest Range Covering Elements from K Lists Hard
3 Longest Substring Without Repeating Characters Medium
11 Container With Most Water Medium
283 Move Zeroes Easy

WEEK 3

# Title Difficulty
STACK AND QUEUE
1249 Minimum Remove to Make Valid Parentheses Medium
856 Score of Parentheses Medium
946 Validate Stack Sequences Medium
609 Find Duplicate File in System Medium
503 Next Greater Element II Medium
1047 Remove All Adjacent Duplicates In String EASY

WEEK 4

# Title Difficulty
GREEDY
122 Best Time to Buy and Sell Stock II Easy
392 Is Subsequence Easy
1029 Two City Scheduling Easy
406 Queue Reconstruction by Height Medium
921 Minimum Add to Make Parentheses Valid Medium
1338 Reduce Array Size to The Half Medium

WEEK 5

# Title Difficulty
HEAP
378 Kth Smallest Element in a Sorted Matrix Medium
659 Split Array into Consecutive Subsequences Medium
692 Top K Frequent Words Medium
973 K Closest Points to Origin Medium
1054 Distant Barcodes Medium
218 The Skyline Problem Hard
857 Minimum Cost to Hire K Workers Hard

WEEK 6

# Title Difficulty
LINKED LIST
21 Merge Two Sorted Lists Easy
234 Palindrome Linked List Easy
24 Swap Nodes in Pairs Medium
86 Partition List Medium
92 Reverse Linked List II Medium
148 Sort List Medium
430 Flatten a Multilevel Doubly Linked List Medium
445 Add Two Numbers II Medium
725 Split Linked List in Parts Medium
1019 Next Greater Node In Linked List Medium

WEEK 7

GRAPH

  • Leetcode 1387. Sort Integers by The Power Value [Medium - 2 Point]

https://leetcode.com/problems/sort-integers-by-the-power-value/


WEEK 8

# Title Difficulty
BFS
417 Pacific Atlantic Water Flow Medium
529 Minesweeper Medium
752 Open the Lock Medium
909 Snakes and Ladders Medium
1129 Shortest Path with Alternating Colors Medium
1162 As Far from Land as Possible Medium
1391 Check if There is a Valid Path in a Grid Medium
490 The Maze Medium
505 The Maze II Medium
499 The Maze III Medium

WEEK 9

# Title Difficulty
DFS
695 Max Area of Island Medium
1254 Number of Closed Islands Medium
130 Surrounded Regions Medium
934 Shortest Bridge Medium
841 Keys and Rooms Medium
1306 Jump Game III Medium
399 Evaluate Division Medium
785 Is Graph Bipartite? Medium
133 Clone Graph Medium
207 Course Schedule Medium
210 Course Schedule II Medium
802 Find Eventual Safe States Medium
1462 Course Schedule IV Medium

WEEK 10

# Title Difficulty
DJISKTRA
1135 Connecting Cities With Minimum Cost Medium
743 Network Delay Time Medium

WEEK 11

# Title Difficulty
UNION FIND
323 Number of Connected Components in an Undirected Graph Medium
1319 Number of Operations to Make Network Connected Medium
128 Longest Consecutive Sequence Hard
765 Couples Holding Hands Hard
778 Swim in Rising Water Hard
1168 Optimize Water Distribution in a Village Hard
209 Minimum Size Subarray Sum Medium

WEEK 12

# Title Difficulty
TREE
700 Search in a Binary Search Tree Easy
559 Maximum Depth of N-ary Tree Easy
1022 Sum of Root To Leaf Binary Numbers Easy
872 Leaf-Similar Trees Easy
637 Average of Levels in Binary Tree Easy
100 Same Tree Easy
94 Binary Tree Inorder Traversal Medium
513 Find Bottom Left Tree Value Medium
515 Find Largest Value in Each Tree Row Medium
144 Binary Tree Preorder Traversal Medium
102 Binary Tree Level Order Traversal Medium
199 Binary Tree Right Side View Medium
366 Find Leaves of Binary Tree Medium
814 Binary Tree Pruning Medium
1325 Delete Leaves With a Given Value Medium
606 Construct String from Binary Tree Easy
543 Diameter of Binary Tree Easy
863 All Nodes Distance K in Binary Tree Medium
1245 Tree Diameter Medium

WEEK 13

# Title Difficulty
BINARY SEARCH TREE
653 Two Sum IV - Input is a BST Easy
230 Kth Smallest Element in a BST Medium
449 Serialize and Deserialize BST Medium
538 Convert BST to Greater Tree Easy
1038 Binary Search Tree to Greater Sum Tree Medium
1382 Balance a Binary Search Tree Medium

WEEK 14

# Title Difficulty
BINARY TREE
1351 Count Negative Numbers in a Sorted Matrix Easy
875 Koko Eating Bananas Medium
287 Find the Duplicate Number Medium
153 Find Minimum in Rotated Sorted Array Medium
33 Search in Rotated Sorted Array Medium
50 Pow(x, n) Medium
1201 Ugly Number III Medium
29 Divide Two Integers Medium
35 Search Insert Position Easy

WEEK 15

# Title Difficulty
MATH
7 Reverse Integer Easy
2 Add Two Numbers Medium
553 Optimal Division Medium
1362 Closest Divisors Medium
1006 Clumsy Factorial Medium
592 Fraction Addition and Subtraction Medium
640 Solve the Equation Medium
279 Perfect Squares Medium
12 Integer to Roman Medium
866 Prime Palindrome Medium
223 Rectangle Area Medium
1227 Airplane Seat Assignment Probability Medium
1230 Toss Strange Coins Medium
1093 Statistics from a Large Sample Medium
1017 Convert to Base -2 Medium

Owner
Hoang Cao Bao
Hoang Cao Bao
Tensorboard plugin 3d with python

tensorboard-plugin-3d Overview In this example, we render a run selector dropdown component. When the user selects a run, it shows a preview of all sc

KitwareMedical 26 Nov 14, 2022
Python decorator for `TODO`s

Python decorator for `TODO`s. Don't let your TODOs rot in your python projects anymore !

Klemen Sever 74 Sep 13, 2022
A simple python project which control paint brush in microsoft paint app

Paint Buddy In Python A simple python project which control paint brush in micro

Ordinary Pythoneer 1 Dec 27, 2021
Up to date simple useragent faker with real world database

fake-useragent info: Up to date simple useragent faker with real world database Features grabs up to date useragent from useragentstring.com randomize

Victor K. 2.9k Jan 04, 2023
Attempt at a Windows version of the plotman Chia Plot Manager system

windows plotman: an attempt to get plotman to work on windows THIS IS A BETA. Not ready for production use just yet. Almost, but not quite there yet.

59 May 11, 2022
python package to showcase, test and build your own version of Pickhardt Payments

Pickhardt Payments Package The pickhardtpayments package is a collection of classes and interfaces that help you to test and implement your dialect of

Rene Pickhardt 37 Dec 18, 2022
Improving Representations via Similarities

embetter warning I like to build in public, but please don't expect anything yet. This is alpha stuff! notes Improving Representations via Similaritie

vincent d warmerdam 229 Jan 08, 2023
This is the Halloween edition of my Flask Greeting App - HAPPY HALLOWEEEN EVERYONE! :)

HalloweenGreetingApp HAPPY HALLOWEEN EVERYONE! :) This is the Halloween Edition of my Flask Greeting App! Please note, this application is mean to be

Mariya 2 Feb 04, 2022
Suite of tools for retrieving USGS NWIS observations and evaluating National Water Model (NWM) data.

Documentation OWPHydroTools GitHub pages documentation Motivation We developed OWPHydroTools with data scientists in mind. We attempted to ensure the

36 Dec 11, 2022
A collection of examples of using cocotb for functional verification of VHDL designs with GHDL.

At the moment, this repo is in an early state and serves as a learning tool for me. So it contains a a lot of quirks and code which can be done much better by cocotb-professionals.

T. Meissner 7 Mar 10, 2022
3D Printed Flip Clock Design and Code

Smart Flip Clock 3D printed smart clock that puts a new twist on old technology. Making The Smart Flip Clock The first thing that must be done for thi

Thomas 105 Oct 17, 2022
Lookup for interesting stuff in SMB shares

SMBSR - what is that? Well, SMBSR is a python script which given a CIDR/IP/IP_file/HOSTNAME(s) enumerates all the SMB services listening (445) among t

Vincenzo 112 Dec 15, 2022
Ontario-Covid-Screening - An automated Covid-19 School Screening Tool for Ontario

Ontario-Covid19-Screening An automated Covid-19 School Screening Tool for Ontari

Rayan K 0 Feb 20, 2022
A small program to vote for Councilors at 42 Heilbronn.

This Docker container is build to run on server an provide an easy to use interface for every student to vote for their councillors. To run docker on

Kevin Hirsig 2 Jan 17, 2022
Artificial intelligence based on 5-dimensional quantum selection

Deep Thought An artificial intelligence based on 5-dimensional quantum selection. Algorithm The payload Make an random bit array (e.g. 1101...) Conver

Larry Holst 3 Dec 14, 2022
A basic tool to generate Hydrogen drum machine kits.

Generate Hydrogen Kit A basic tool to generate drumkit.xml files for Hydrogen drum machine. Saves a bit of time when making kits. Supply it with a nam

Luna Langton 2 Nov 28, 2021
Projects and assets from Wireframe #56

Wireframe56 Projects and assets from Wireframe #56 Make a Boulder Dash level editor in Python, pages 50-57, by Mark Vanstone. Code an homage to Bubble

Wireframe magazine 10 Sep 07, 2022
A simple package for interacting with the 9kw.eu anti-captcha service.

Welcome to captcha9kw’s documentation! captcha9kw is a smallish Python package for making use of the 9kw.eu services, including solving of interactive

2 Feb 26, 2022
A Notifier Program that Notifies you to relax your eyes Every 15 Minutes👀

Every 15 Minutes is an application that is used to Notify you to Relax your eyes Every 15 Minutes, This is fully made with Python and also with the us

FSP Gang s' Admin 1 Nov 03, 2021
A simple website-based resource monitor for slurm system.

Slurm Web A simple website-based resource monitor for slurm system. Screenshot Required python packages flask, colored, humanize, humanfriendly, beart

Tengda Han 17 Nov 29, 2022