Skip to content

Latest commit

 

History

History
58 lines (51 loc) · 4.59 KB

February-LeetCoding-Challenge.md

File metadata and controls

58 lines (51 loc) · 4.59 KB

February LeetCoding Challenge 2021

In this repository provided my Python solutions of Ferbuary LeetCoding Challenge problems.

Introduction

In this repository provided my Python solutions of Ferbuary LeetCoding Challenge problems.

  • I highly recommend you to try and solve problems yourself before look at the solutions here.
  • Solutions and approaches may be not optimal.
  • All Solutions here are in Python 3.

Notes

None

Week 1

Title Solution Difficulty
191. Number of 1 Bits Python Easy
669. Trim a Binary Search Tree Python Medium
141. Linked List Cycle Python Easy
594. Longest Harmonious Subsequence Python Easy
71. Simplify Path Python Medium
199. Binary Tree Right Side View Python Medium
821. Shortest Distance to a Character Python Easy

Week 2

Title Solution Difficulty
284. Peeking Iterator Python Medium
538. Convert BST to Greater Tree Python Easy
138. Copy List with Random Pointer Python Medium
242. Valid Anagram Python Easy
1342. Number of Steps to Reduce a Number to Zero Python Easy
1091. Shortest Path in Binary Matrix Python Medium
785. Is Graph Bipartite? Python Medium

Week 3

Title Solution Difficulty
1337. The K Weakest Rows in a Matrix Python Easy
784. Letter Case Permutation Python Medium
11. Container With Most Water Python Medium
413. Arithmetic Slices Python Medium
1249. Minimum Remove to Make Valid Parentheses Python Medium
13. Roman to Integer Python Easy
991. Broken Calculator Python Medium

Week 4

Title Solution Difficulty
524. Longest Word in Dictionary through Deleting Python Medium
240. Search a 2D Matrix II Python Medium
856. Score of Parentheses Python Medium
581. Shortest Unsorted Continuous Subarray Python Medium
946. Validate Stack Sequences Python Medium
29. Divide Two Integers Python Medium
895. Maximum Frequency Stack Python Hard

License

The code is open-source and licensed under the MIT License.