What algorithm does Python use to compute MRO?
Correct answer
A. C3 linearization
7 views
A. C3 linearization
7 views
Python 3 uses C3 linearization for consistent method resolution.
Asked in: Python Interview OOP
https://docs.python.org/3/tutorial/classes.htmlNot sure why the answer is A? Ask here and get an explanation.