Confused on an interview question

Given string “ n m x” where n,m and x are all integers find if the Xth bit is the same in n And m?

So i know you are going to recive a string and then parse it to an int but then would you parse the string to multiply ints? if so how so and then how do you comare two ints in bit wise? done in java

Comments (1)