Skip to content

kc-54/leetcode_nov_2020

Repository files navigation

Leetcode_nov_2020

Leetcode_challenge_nov_2020

Not the best nor the most optimized answer, feedback is welcome.

01/11/2020 (Convert Binary Number in a Linked List to Integer)
Question : https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer/
102 / 102 test cases passed.
Status: Accepted, Runtime: 0 ms (100.0% faster), Memory Usage: 36.2 MB

02/11/2020 (Insertion Sort List)
Question : https://leetcode.com/problems/insertion-sort-list/
22 / 22 test cases passed.
Status: Accepted, Runtime: 30 ms (36.06% faster), Memory Usage: 38.8 MB

03/11/2020 (Consecutive Characters)
Question : https://leetcode.com/problems/consecutive-characters/
333 / 333 test cases passed.
Status: Accepted, Runtime: 1 ms (100.0% faster), Memory Usage: 37.6 MB

04/11/2020 (Minimum Height Trees)
Question : https://leetcode.com/problems/minimum-height-trees/
68 / 68 test cases passed.
Status: Accepted, Runtime: 16 ms (63.16% faster), Memory Usage: 40.9 MB

05/11/2020 (Minimum Cost to Move Chips to The Same Position)
Question : https://leetcode.com/problems/minimum-cost-to-move-chips-to-the-same-position/
51 / 51 test cases passed.
Status: Accepted, Runtime: 0 ms (100.0% faster), Memory Usage: 36.5 MB

06/11/2020 (Find the Smallest Divisor Given a Threshold)
Question : https://leetcode.com/problems/find-the-smallest-divisor-given-a-threshold/
61 / 61 test cases passed.
Status: Accepted, Runtime: 12 ms (52.21% faster), Memory Usage: 41.9 MB

07/11/2020 (Add Two Numbers II)
Question : https://leetcode.com/problems/add-two-numbers-ii/
1563 / 1563 test cases passed.
Status: Accepted, Runtime: 2 ms (98.96% faster), Memory Usage: 39.6 MB

08/11/2020 (Binary Tree Tilt)
Question : https://leetcode.com/problems/binary-tree-tilt/
77 / 77 test cases passed.
Status: Accepted, Runtime: 2 ms (17.38% faster), Memory Usage: 39.9 MB

09/11/2020 (Maximum Difference Between Node and Ancestor)
Question : https://leetcode.com/problems/maximum-difference-between-node-and-ancestor/
27 / 27 test cases passed.
Status: Accepted, Runtime: 0 ms (100.0% faster), Memory Usage: 39.2 MB

10/11/2020 (Flipping an Image)
Question : https://leetcode.com/problems/flipping-an-image/
82 / 82 test cases passed.
Status: Accepted, Runtime: 0 ms (100.0% faster), Memory Usage: 39.7 MB

11/11/2020 (Valid Square)
Question : https://leetcode.com/problems/valid-square/
244 / 244 test cases passed.
Status: Accepted, Runtime: 0 ms (100.0% faster), Memory Usage: 36.5 MB

12/11/2020 (Permutations II)
Question : https://leetcode.com/problems/permutations-ii/
33 / 33 test cases passed.
Status: Accepted, Runtime: 3 ms (37.69% faster), Memory Usage: 39.9 MB

13/11/2020 (Populating Next Right Pointers in Each Node)
Question : https://leetcode.com/problems/populating-next-right-pointers-in-each-node/
58 / 58 test cases passed.
Status: Accepted, Runtime: 1 ms (53.34% faster), Memory Usage: 39.8 MB

14/11/2020 (Poor Pigs)
Question : https://leetcode.com/problems/poor-pigs/
17 / 17 test cases passed.
Status: Accepted, Runtime: 0 ms (100.0% faster), Memory Usage: 35.8 MB

16/11/2020 (Longest Mountain in Array)
Question : https://leetcode.com/problems/longest-mountain-in-array/
72 / 72 test cases passed.
Status: Accepted, Runtime: 2 ms (85.73% faster), Memory Usage: 39.8 MB

17/11/2020 (Mirror Reflection)
Question : https://leetcode.com/problems/mirror-reflection/
69 / 69 test cases passed.
Status: Accepted, Runtime: 0 ms (100.0% faster), Memory Usage: 35.7 MB

18/11/2020 (Merge Intervals)
Question : https://leetcode.com/problems/merge-intervals/
168 / 168 test cases passed.
Status: Accepted, Runtime: 6 ms (47.62% faster), Memory Usage: 42.2 MB

19/11/2020 (Decode String)
Question : https://leetcode.com/problems/decode-string/
31 / 31 test cases passed.
Status: Accepted, Runtime: 0 ms (100.0% faster), Memory Usage: 37.1 MB

20/11/2020 (Search in Rotated Sorted Array II)
Question : https://leetcode.com/problems/search-in-rotated-sorted-array-ii/
275 / 275 test cases passed.
Status: Accepted, Runtime: 0 ms (100.0% faster), Memory Usage: 39.1 MB

21/11/2020 (Numbers At Most N Given Digit Set)
Question : https://leetcode.com/problems/numbers-at-most-n-given-digit-set/
83 / 83 test cases passed.
Status: Accepted, Runtime: 0 ms (100.0% faster), Memory Usage: 35.8 MB

22/11/2020 (Unique Morse Code Words)
Question : https://leetcode.com/problems/unique-morse-code-words/
83 / 83 test cases passed.
Status: Accepted, Runtime: 1 ms (100.0% faster), Memory Usage: 36.8 MB

23/11/2020 (House Robber III)
Question : https://leetcode.com/problems/house-robber-iii/
124 / 124 test cases passed.
Status: Accepted, Runtime: 0 ms (100.0% faster), Memory Usage: 38.8 MB

24/11/2020 (Basic Calculator II)
Question : https://leetcode.com/problems/basic-calculator-ii/
109 / 109 test cases passed.
Status: Accepted, Runtime: 8 ms (74.22% faster), Memory Usage: 39.6 MB

25/11/2020 (Smallest Integer Divisible by K)
Question : https://leetcode.com/problems/smallest-integer-divisible-by-k/
70 / 70 test cases passed.
Status: Accepted, Runtime: 1 ms (100.0% faster), Memory Usage: 35.7 MB

26/11/2020 (Longest Substring with At Least K Repeating Characters)
Question : https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters/
31 / 31 test cases passed.
Status: Accepted, Runtime: 0 ms (100.0% faster), Memory Usage: 37.2 MB

27/11/2020 (Partition Equal Subset Sum)
Question : https://leetcode.com/problems/partition-equal-subset-sum/
115 / 115 test cases passed.
Status: Accepted, Runtime: 38 ms (43.22% faster), Memory Usage: 37.8 MB

28/11/2020 (Sliding Window Maximum)
Question : https://leetcode.com/problems/sliding-window-maximum/
239 / 239 test cases passed.
Status: Accepted, Runtime: 8 ms (98.07% faster), Memory Usage: 53.8 MB

29/11/2020 (Jump Game III)
Question : https://leetcode.com/problems/jump-game-iii/
54 / 54 test cases passed.
Status: Accepted, Runtime: 0 ms (100.0% faster), Memory Usage: 46.4 MB

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages