Meta interview question

binary to integer