• + 3 comments

    I am desperatly close to completition. I am using connected components to find the number of days required to solve the problems. I create a graph based on the constraints. My algorithm works for smaller data sets N < lets say. This is not concrete but seems to be the general happenings. This is why I cant figure out whats wrong. Not only is it impossible (nearly so) to work out the solutions to large data sets on paper usign my algorithm, I dont understand why it not only works for what seems to be smaller data sets but comes desperatly close for all the others, as in off by only a few for wrong answers. I dont know what could possible be wrong. I can give more details if any body can be bothered helping me. This would be my first problem on hacker rank being solved and would greatly motivate me to solve more, I just need to put away one first . So somebody help me??