How to run?
yarn
ornpm install
yarn start
ornpm run start
- See the result on terminal or open file named
result.txt
How to run test?
yarn
ornpm install
yarn test
ornpm run test
Input to the program will be • a 2D array that represents the rows and columns [ [3,4], [4,5], [2,3], [3,4] ] • Number of passengers waiting in queue.