hackerrank electronics shop problem JavaScript solution by Subrat Dash.
A person wants to determine the most expensive computer keyboard and USB drive that can be purchased with a give budget. Given price lists for keyboards and USB drives and a budget, find the cost to buy them. If it is not possible to buy both items, return -1.
HackerRank Link ; https://www.hackerrank.com/challenges...
GitHub Code Link :
https://github.com/subratsir/electron...