You are viewing a single comment's thread. Return to all comments →
The better solution is O(n/2). If your program is not optimed, then it "MAY" thow "Timeout" as it exceeds the maximum time limit.
Seems like cookies are disabled on this browser, please enable them to open this website
Alternating Characters
You are viewing a single comment's thread. Return to all comments →
The better solution is O(n/2). If your program is not optimed, then it "MAY" thow "Timeout" as it exceeds the maximum time limit.