redistribute-chars-linear-time

Status: IN

The function runs in O(C) time where C is the total number of characters across all words, plus O(U) for the final check where U is the number of unique characters.

Source: entries/2026/06/06/redistribute-characters-to-make-all-strings-equal-solution.md

JSON