package
0.0.0-20241126132414-a6474f9c9b52
Repository: https://github.com/talgat-ruby/exercises-go.git
Documentation: pkg.go.dev

# README

Problem 5

You will be given a map with various consumer products with their respective prices and a price. Return a list of the products with a minimum price of the provided one in descending order. For the equal prices, in ascending order of keys.

products({"Computer" : 600, "TV" : 800, "Radio" : 50}, 300) ➞ ["TV","Computer"]

products({"Bike1" : 510, "Bike2" : 401, "Bike3" : 501}, 500) ➞ ["Bike1", "Bike3"]) 

products({"Loafers" : 50, "Vans" : 10, "Crocs" : 20}, 100) ➞ []