HackerRank Mark and Toys Problem Solution
In this post, we will solve HackerRank Mark and Toys Problem Solution. Mark and Jane are very happy after having their first child. Their son loves toys, so Mark wants to buy some. There are a number of different toys lying in front of him, tagged with their prices. Mark has only a certain amount…