PLUSEQ - Editorial

so the time complexity explanation never came. Someone care to explain the first solution?