Leetcode Weekly Contest 428 (2/4) (1 WA)

Описание к видео Leetcode Weekly Contest 428 (2/4) (1 WA)

Q3 apparently can be solved with O(n^2) and checking subarray if equal. Not sure if this solution will TLE on rejudge. The supposed solution is z-function or hashing.

Комментарии

Информация по комментариям в разработке