Ad
  • Default User Avatar

    If the problem is easily attacked with Streams, why not use them? I don't agree that the question calls specifically for solutions that only use arrays. That seems like an artificial limitation. I also don't agree with premature optimization.