Maps Sets and Hashes Comments


  • When are sets used?

  • I simply looped through, but I don't yet see how to solve this using a Set or a Hash.

  • @Paul - Does it help if I say that the number you're looking for is k - N where N is the current item in the loop? A set would help you know if you've already seen the answer to that sum.

Contact Us
Sign in or email us at [email protected]