Not my work, source: r/copperking on reddit
We have 2 colors of balls on the table that we want to separate.
We get a stick and put it on the table, this works pretty well right?
| package testing; | |
| import java.math.BigInteger; | |
| import java.util.List; | |
| import java.util.stream.Collectors; | |
| import java.util.stream.Stream; | |
| public class IsAnagramDemo | |
| { | |
| /* Get the primes we need */ |
We have 2 colors of balls on the table that we want to separate.
We get a stick and put it on the table, this works pretty well right?