RubyGems Navigation menu

ClosestSum 1.3.0-universal-linux

Given a hash of keys and numeric values and another integer value (target size), this module will select the largest keys from the given hash such that the sum of the selected keys is less than equal to the target size

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.4.0 - February 08, 2019 universal-linux (5.5 KB)
  2. 1.3.0 - February 08, 2019 universal-linux (5.5 KB)
  3. 1.2.0 - February 08, 2019 universal-linux (5.5 KB)
  4. 1.1.0 - November 04, 2017 universal-linux (5.5 KB)
  5. 1.0.0 - July 30, 2017 universal-linux (5.5 KB)

Owners:

Authors:

  • dE

SHA 256 checksum:

254004911ed96898877d1b9cc0e740d5e8c2451f819d3e7d296813248f077948

Total downloads 8,762

For this version 1,535

License:

Apache-2.0

Required Ruby Version: >= 0

Links: