Skip to content

Conversation

Alireza-Sampour
Copy link

No description provided.

@aayush26
Copy link
Owner

Please mention in the Solution as O(2^n) time complexity in the comment of your code.

Just a FYI, this problem can be solved in O(n) and optimize even further to O(log n)

@aayush26
Copy link
Owner

aayush26 commented Oct 11, 2019

Please add a link of successful submission link in leetcode

@aayush26
Copy link
Owner

Thanks for sending out the PR.

Detailed instructions on how to contribute to this repo has been updated here:
https://github.com/aayush26/leetcode/blob/master/README.md#how-to-contribute

Please send out a new revision accordingly.

ReyAhamed added a commit to ReyAhamed/leetcode that referenced this pull request Oct 13, 2019
vidhithebest added a commit to vidhithebest/leetcode that referenced this pull request Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants