Skip to content

bharatr21/June-LeetCode-Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

June-LeetCode-Challenge

Solutions to the everyday LeetCode Challenge in June 2020.
This README contains the list of problems solved.

Assumptions

Unless otherwise specified, n -> Number of Nodes of tree / Length of String / Length of Array inputs

Concepts Used Time Complexity (Auxilliary) Space Complexity Solution
Binary Tree O(n) O(1) S01
Linked Lists O(1) O(1) S02
Arrays, Sorting O(nlogn) O(1) S03
Arrays, Reversal O(n) O(1) S04
Randomization O(n) O(n) S05
Arrays, Construction O(nlogn) O(n) S06
Recursion, Dynamic Programming O(n * a) O(a) {a->Amount} S07