This is a very simple project for someone who can do it.
Here is a sample question:
You are given a set of ‘n’ chemical compounds which have to be packed in two boxes. Some of the chemicals may react with other chemicals and should not be packed in the same box.
1. Code an efficient algorithm in C/C++ that determines if it is possible to safely pack these chemicals in two boxes and if so, then print which chemicals should go in Box-1 and which in Box-
2. If it is not possible to safely pack the chemicals in two boxes then print at least one sequence of chemical interactions that prevents such a division.
There are 4-5 like this. Will take approx 40 minutes for the right person.
Let me know if you can do it.
It is an easy problem.
But I would like to know if there is a way to find out the size of the boxes or it isn't important.
Then it would be nice to know how many parts can be present in a chemical interaction.
There is possible to interact only two chemicals or it happens that three or more chemicals beeing present in the same time occurs an interaction.
Thanks in advance