ashish1189 / leetcode-may2020

Leetcode daily coding challenge solutions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LeetCode-May-2020

A collection of solutions for the May LeetCoding Challenge 2020.

S.No Problem Link Difficulty (Relative to me) Algorithm(s) Used Data Structure(s) Used Time Complexity Space Complexity Time to solve
1 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/534/week-1-may-1st-may-7th/3316/ Easy Binary Search NA O(logn) O(1) Within 15 mins
2 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/534/week-1-may-1st-may-7th/3317/ Easy NA HashSet O(m+n) O(m) Within 15 mins
3 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/534/week-1-may-1st-may-7th/3318/ Easy NA Array O(1) O(n) Within 15 mins
4 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/534/week-1-may-1st-may-7th/3319/ Easy NA NA O(1) O(1) Within 15 mins
5 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/534/week-1-may-1st-may-7th/3320/ Easy NA HashMap O(n) O(n) Within 15 mins
6 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/534/week-1-may-1st-may-7th/3321/ Easy NA HashMap O(n) O(n) Within 15 mins
7 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/534/week-1-may-1st-may-7th/3322/ Medium NA NA O(n) O(n) Within 60 mins
8 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/534/week-2-may-8th-may-14th/3323/ Easy NA 2D Array O(n) O(n) Within 15 mins
9 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/534/week-2-may-8th-may-14th/3324/ Easy NA NA O(n) O(1) Within 60 mins
10 https://leetcode.com/explore/featured/card/may-leetcoding-challenge/535/week-2-may-8th-may-14th/3325/ Medium NA Map, Array O(n2) O(1) Within 60 mins
11 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/535/week-2-may-8th-may-14th/3326/ Medium Recursion Array O(n) O(1) Within 60 mins
12 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/535/week-2-may-8th-may-14th/3327/ Medium BST, Recursion Array O(log n) O(1) Within 60 mins
13 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/535/week-2-may-8th-may-14th/3328/ Medium NA Array O(k) O(k) Within 60 mins
14 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/535/week-2-may-8th-may-14th/3329/ Easy NA Trie, Map O(1) O(1) Within 30 mins
15 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/536/week-3-may-15th-may-21st/3330/ Medium Kadane Array O(n) O(n) Within 60 mins
16 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/536/week-3-may-15th-may-21st/3331/ Easy NA NA O(n) O(1) Within 20 mins
17 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/536/week-3-may-15th-may-21st/3332/ Medium NA NA O(n) O(1) Within 45 mins
18 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/536/week-3-may-15th-may-21st/3333/ Medium NA NA O(n) O(1) Within 45 mins
19 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/536/week-3-may-15th-may-21st/3334/ Easy NA Stack O(1) O(1) Within 15 mins
20 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/536/week-3-may-15th-may-21st/3335/ Medium NA NA O(k) O(1) Within 60 mins
21 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/536/week-3-may-15th-may-21st/3336/ Easy NA NA O(n2) O(m*n) Within 20 mins
22 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/537/week-4-may-22nd-may-28th/3337/ Easy NA NA O(n2) O(m*n) Within 20 mins
23 https://leetcode.com/explore/featured/card/may-leetcoding-challenge/537/week-4-may-22nd-may-28th/3338/ Easy NA NA O(n) O(n) Within 30 mins
24 https://leetcode.com/explore/featured/card/may-leetcoding-challenge/537/week-4-may-22nd-may-28th/3339/ Easy NA BST O(n) O(n) Within 30 mins
25 https://leetcode.com/explore/featured/card/may-leetcoding-challenge/537/week-4-may-22nd-may-28th/3340/ Easy DP BST O(nm) O(mn) Within 30 mins
26 https://leetcode.com/explore/featured/card/may-leetcoding-challenge/537/week-4-may-22nd-may-28th/3341/ Hard DFS Array O(n + g) O(n + g) Within 120 mins
27 https://leetcode.com/explore/featured/card/may-leetcoding-challenge/537/week-4-may-22nd-may-28th/3342/ Hard DFS Array O(n) O(n) Within 20 mins
28 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/537/week-4-may-22nd-may-28th/3343/ Hard NA Array O(n) O(n) Within 20 mins
29 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/538/week-5-may-29th-may-31st/3344/ Medium Topological Sort by DFS Map, List O(n) O(n) Within 20 mins
30 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/538/week-5-may-29th-may-31st/3345/ Medium Adjacency List Map, List O(n2) O(n) Within 30 mins
31 https://leetcode.com/explore/challenge/card/may-leetcoding-challenge/538/week-5-may-29th-may-31st/3346/ Medium DP Array O(n2) O(n2) Within 30 mins

About

Leetcode daily coding challenge solutions


Languages

Language:Java 100.0%