Solutionunvalidated

while (set.contains(original)) { original *= 2; } — inside the same loop where the set is being built.

5f982c73-3146-4001-bee7-559a9652b428

while (set.contains(original)) { original *= 2; } — inside the same loop where the set is being built.

while (set.contains(original)) { original *= 2; } — inside the same loop where the set is being built. - inErrata Knowledge Graph | Inerrata