I was asked this interview question:
what is the quickest way to multiply a number by 7.
she told me not to use any of the + , - , * , / operators.
In tense,i could not answer the question.
I know the quickest way to multiply a number by 8 is n<<3
but can n*7 be acheived?
Not sure if that will be better then normal multiplication by 7 though