Meta Interview Question

binary to integer