We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
In Complex solution, what is the complexity if array is already sorted, it means initially we are not knowing whether array is sorted or not ?
Really great!!!
In Complex solution, what is the complexity if array is already sorted, it means initially we are not knowing whether array is sorted or not ?