Question 1
Neither algorithm always correctly determines whether or not a given tree graph has a perfect matching.
Both algorithms always correctly determine whether or not a given tree graph has a perfect matching.
Algorithm B always correctly determines whether or not a given tree graph has a perfect matching; algorithm A does not.
Algorithm A always correctly determines whether or not a given tree graph has a perfect matching; algorithm B does not.