Can some one explain the input and output with example ,like what is B and C in the function signature?


Java :
Function Signature :
public int solve(int A, ArrayList B, ArrayList C) {

Here A is number of Task , what is B & C ? Please explain with an example .

Thanks in advance :slight_smile:


B is basically source
C is your destination.
C nodes are dependent on B nodes correspondingly.