What is space and time complexity?
💡-redundant-parentheses
namangarg31
(Naman Garg)
July 31, 2020, 1:22pm
#1
here is my code
asaurabh_26
(logical coder)
July 31, 2020, 1:24pm
#2
for 1 testcase
Time complexity:
O(n)
Auxiliary space:
O(n)