Combining partitioned lists with C++

The task

Imagine you have a partitioned list like this:

[
    { "from": 0, "content": "blue", "to": 10 },
    { "from": 12, "content": "blue", "to": 13 },
    { "from": 14, "content": "blue", "to": 25 },
    { "from": 26, "content": "red", "to": 30 }
]

As a result, we want to merge adjacent partitions (they might have a gap between them …

read more →

More posts

  1. Lauftagebuch KW 33
  2. Vektorfaltung unter C++
  3. Über das Abnehmen
  4. Der Elektro-Smart
  5. GnuPG über SOCKS

More posts in the archive.