Critical Thinking means to rush to find a solution for a problem - Inference means to having a conclusion to the situation you were facing.
What they both have in common is that if you are facing a problem, you have to come up with a good solution so that you would have a conclusion to the problem you had in the first place.