Skip to content

Latest commit

 

History

History
65 lines (57 loc) · 5.12 KB

December-LeetCoding-Challenge.md

File metadata and controls

65 lines (57 loc) · 5.12 KB

December LeetCoding Challenge 2020

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

Introduction

In this repository provided my Python solutions of December 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
104. Maximum Depth of Binary Tree Python Easy
382. Linked List Random Node Python Medium
897. Increasing Order Search Tree Python Easy
1492. The kth Factor of n Python Medium
605. Can Place Flowers Python Easy
117. Populating Next Right Pointers in Each Node II Python Medium
59. Spiral Matrix II Python Medium

Week 2

Title Solution Difficulty
1010. Pairs of Songs With Total Durations Divisible by 60 Python Medium
173. Binary Search Tree Iterator Python Medium
941. Valid Mountain Array Python Easy
80. Remove Duplicates from Sorted Array II Python Medium
865. Smallest Subtree with all the Deepest Nodes Python Medium
312. Burst Balloons Python Hard
131. Palindrome Partitioning Python Medium

Week 3

Title Solution Difficulty
977. Squares of a Sorted Array Python Easy
98. Validate Binary Search Tree Python Medium
454. 4Sum II Python Medium
334. Increasing Triplet Subsequence Python Medium
1463. Cherry Pickup II Python Hard
880. Decoded String at Index Python Medium
910. Smallest Range II Python Medium

Week 4

Title Solution Difficulty
110. Balanced Binary Tree Python Easy
556. Next Greater Element III Python Medium
24. Swap Nodes in Pairs Python Medium
498. Diagonal Traverse Python Medium
91. Decode Ways Python Medium
1345. Jump Game IV Python Hard
754. Reach a Number Python Medium

Week 5

Title Solution Difficulty
1457. Pseudo-Palindromic Paths in a Binary Tree Python Medium
289. Game of Life Python Medium
84. Largest Rectangle in Histogram Python Medium

License

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