Domanda di colloquio di MathWorks

In the technical interview converting binary to a integer based on the bits