educative.io

Educative

Educative: Interactive Courses for Software Developers

Can we do in O(n) complexity which will be considered as optimal solution ,I think