Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 247 Bytes

pseudo-code.md

File metadata and controls

8 lines (7 loc) · 247 Bytes

pseudocode

  1. Input : List of Items
  2. Group Items
  3. For each group, get the size of the corresponding list.
  4. Multiply the size by the amount of its key
  5. Sum the amount of each group to get the final amount
  6. Convert to standard currency