2 ms·Yes, the string equality itself is o(n).by behdad 3y agoYes, the string equality itself is o(n).