What is time complexity of javascript's substring method?
I think implementation of this method may be same as Java but for Java now substring has O(N) complexity from Java7 onwards and O(1) for pre-Java7.
What is time complexity of javascript's substring method?
I think implementation of this method may be same as Java but for Java now substring has O(N) complexity from Java7 onwards and O(1) for pre-Java7.
