PROBLEM LINK: CDVB2022/SPECS
Basic Mathematics, Basic Programming, Arrays.
- Chef can only buy the specs which are under his budget.
- So we just need to traverse the array and count the numbers less than or equal to the budget.
- Hence we find the count.