Let a=6 and as 6 = 2*3 which means 6 is multiple of 3;
return true if a is multiple of 3,otherwise false.
Nine additional test cases have been added and the problem is set to be rescored.
Size: 8 !!!!, Can i see your answer?
It only works because the test suite has one example, and the answer is false. This won't work if the test suite has any examples that would return true.
Return the 3n+1 sequence for n
Given an unsigned integer x, find the largest y by rearranging the bits in x
surface of a spherical planet
Reverse the vector
The Answer to Life, the Universe, and Everything
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office