Fibonacci inbuilt function is not accepted!!!
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 2;
assert(isequal(OctoberfestFestival(x),y_correct))
|
2 | Pass |
x = 5;
y_correct = 20;
assert(isequal(OctoberfestFestival(x),y_correct))
|
3 | Pass |
x = 10;
y_correct = 232;
assert(isequal(OctoberfestFestival(x),y_correct))
|
Given an unsigned integer x, find the largest y by rearranging the bits in x
524 Solvers
Back to basics 22 - Rotate a matrix
682 Solvers
299 Solvers
264 Solvers
724 Solvers