DEV Community

loading...

Discussion on: Daily Coding Problem #1

Collapse
sayedsaad07 profile image
Sayed Saad

Thanks for sharing this Daily coding challenge. Is the re a way to get a daily email with a new challenge?
For this problem, solution is simple and its O(n).
If we assume that the list is sorted. we can get the sum pair in O(logn)

Collapse
cwetanow profile image
Ivan Author

You just have to subscribe on their site.
I think we cannot make any assumptions about the input data and solve the task with random input