Company: Netradyne
Difficulty: medium
Hiring Drive Max. score: 50.00 You are looking to hire front-end and back-end developers for a project that requires exactly N front-end developers and exactly M backend developers. You receive applications from (N+M) candidates. Conditions Every developer can work on either the front or back end but not on both. The cost of each developer can be different. The cost of the i th developer is as follows: Front-end: F i dollars. Back-end: B i dollars. Print the minimum amount that it will cost the company to run this project. Function Description Complete the solve function. The function takes the following 4 parameters and returns the minimum amount that it will cost the company to run this project as described: N : Represents the number of front-end developers required M : Represents the number of back-end developers required F : Represents an array listing the charges of the developers for working on the front end B : Represents an array listing the charges of the developers for workin