Some applications from vendors are allowed to be installed on multiple computers per user with specific restrictions. In our scenario, each copy of the application (ID 374) allows the user to install the application on to two computers if at least one of them is a laptop. Given the provided data, create a utility that would calculate the minimum number of copies of the application the company must purchase.
Set app id and csv file as env vars. Then run the binary.
export APP_ID="374"
export CSV_FILE="sample-large.csv"
go run main.goRun below command to run unit tests with coverage
make test