I'm extremely sorry for late publication.
Tutorial is loading...
Complexity: O(1).
Author of the idea: Vladik.
Worked on the problem: Vladik.
Tutorial is loading...
Complexity: O(n2). Author of the idea: MikeMirzayanov.
Worked on the problem: MikeMirzayanov.
Tutorial is loading...
Complexity: O(n3 * m).
Author of the idea: altruist.
Worked on the problem: Vladik.
Tutorial is loading...
Complexity: O(n).
** Author of the idea:** altruist.
** Worked on the problem:** altruist.
Tutorial is loading...
Complexity: O(n).
** Author of the idea:** MikeMirzayanov.
** Worked on the problem:** altruist.
Tutorial is loading...
Complexity: O(d * (N * M + K)), where d — alphabet power.
** Author of the idea:** Vladik.
** Worked on the problem:** Vladik.