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
Library management using python & MySQL

Library management using python & MySQL Dev/Editor: Pavan Ananth Sharma & MK Akash Introduction: This is an intermediate project which is a user-frie

Pavan Ananth Sharma 2 Jul 05, 2022
Сервис служит прокси между cервисом регистрации ошибок платформы и системой сбора ошибок Sentry

Sentry Reg Service Сервис служит прокси между Cервисом регистрации ошибок платформы и системой сбора ошибок Sentry. Как развернуть Sentry onpremise. С

Ingvar Vilkman 13 May 24, 2022
A simple but fully functional calculator that will take multiple operations.

Functional-Calculator A simple but fully functional calculator that will take multiple operations. Usage Run the following command through terminal: p

Uzziel Ariel 1 Dec 22, 2022
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
Fast STL (ASCII & Binary) importer for Blender

blender-fast-stl-importer Fast STL (ASCII & Binary) importer for Blender based on https://en.wikipedia.org/wiki/STL_(file_format) Technical notes: flo

Iyad Ahmed 7 Apr 17, 2022
Listen Surah, prepare for next and Endless life...

Al-Quran In this repository, I have linked up all Surah with Arabic-Bangla Audio From Youtube. So, you just need to choose and listen. and the ( surah

SpiderX 1 Sep 30, 2022
Awesome Cheatsheet

Awesome Cheatsheet List of useful cheatsheets Inspired by @sindresorhus awesome and improved by these amazing contributors. If you see a link here is

detailyang 6.5k Jan 07, 2023
A simple calculator that can add, subtract, multiply or divide depending upon the input from the user

Calculator A simple calculator that can add, subtract, multiply or divide depending upon the input from the user. In this example, we should have the

Jayesh Mali 1 Dec 27, 2021
Xbps-install wrapper written in Python that doesn't care about case sensitiveness and package versions

xbi Xbps-install wrapper written in Python that doesn't care about case sensitiveness and package versions. Description This Python script can be easi

Emanuele Sabato 5 Apr 11, 2022
Python for Microscopists and other image processing enthusiasts

The YouTube channel associated with this code walks you through the entire process of learning to code in Python; all the way from basics to advanced machine learning and deep learning.

Dr. Sreenivas Bhattiprolu 2.3k Jan 01, 2023
Hopefully it'll become a very annoying desktop pet

AnnoyingPet Basic Tutorial: https://seebass22.github.io/python-desktop-pet-tutorial/ Handling Mouse Input: https://pythonhosted.org/pynput/mouse.html

1 Jun 08, 2022
An extensive password manager built using Python, multiple implementations. Something to meet everyone's taste.

An awesome open-sourced password manager! Explore the docs » View Demo · Report Bug · Request Feature 🐍 Python Password Manager 🔐 An extensive passw

Sam R 7 Sep 28, 2021
データサイエンスチャレンジ2021 サンプル

データサイエンスチャレンジ2021 サンプル 概要 線形補間と Catmull–Rom Spline 補間のサンプル Python スクリプトです。 データサイエンスチャレンジ2021の出題意図としましては、訓練用データ(train.csv)から機械学習モデルを作成して、そのモデルに推論させてモーシ

Bandai Namco Research Inc. 5 Oct 17, 2022
MIXLAB_NASA_TICKET mixlab 灵感来源于NASA的火星船票

MIXLAB_NASA_TICKET mixlab 灵感来源于NASA的火星船票,我们想要使用开源的代码来定制化这一设计。 其中photo_to_cartoon 是paddle的开源代码:https://github.com/minivision-ai/photo2cartoon-paddle 也借

tongji_cy 38 Feb 20, 2022
Python plugin for Krita that assists with making python plugins for Krita

Krita-PythonPluginDeveloperTools Python plugin for Krita that assists with making python plugins for Krita Introducing Python Plugin developer Tools!

18 Dec 01, 2022
This simple script generates a backup of a given Python and R environment

Python Environment Backup It’s always good to maintain your Python and R Anaconda environment packages properly listed and well-kept in case you have

Andrew Laganaro 1 Jul 13, 2022
A webapp that timestamps key moments in a football clip

A look into what we're building Demo.mp4 Prerequisites Python 3 Node v16+ Steps to run Create a virtual environment. Activate the virtual environment.

Pranav 1 Dec 10, 2021
Code and data for learning to search in local branching

Code and data for learning to search in local branching

Defeng Liu 7 Dec 06, 2022
Scripts for hosting urbit in production-ish

Urbit Sysops Contains some helpful scripts for hosting Urbit. There are two variants included in this repo: one using docker, and one using plain syst

Jōshin 12 Sep 25, 2022
Cash in on Expressed Barcode Tags (EBTs) from NGS Sequencing Data with Python

Cash in on Expressed Barcode Tags (EBTs) from NGS Sequencing Data with Python Cashier is a tool developed by Russell Durrett for the analysis and extr

3 Sep 11, 2022