Implement x^y function in an imaginary proccessor who doesnt have +, /, * operators.
Anonymous
change numbers to binary call a func - f(x , x , 1) f (int a , int b , int i) { while i <= y { b = calc a*b with && || of binary nums; i+= 2; iterate with a ,b , i+1 } return answer } not organized but thats the idea...
Check out your Company Bowl for anonymous work chats.