std::string find_most_useful_string(std::string const & doc)
{
  // measure all strings in doc in a naive way, finding the one with
the most repetitions.
  // stop when repetitions * length^2 decreases

  std::unordered_map<std::string, int> counts;
  int length = 1;

  todo todo syntax error
}

Reply via email to