Problem 47365. Find Logic 24
42.14% Correct | 57.86% Incorrect
Last Solution submitted on May 20, 2023
Dyuman Joshi on 26 Nov 2020
There is a discrepancy in the problem statement and the test case.
For a=1,b=3 Two different values are given (9 and 1, correspondingly).
Kindly correct this.
Dyuman Joshi on 1 Dec 2020
My bad, I saw the test suite and the order of the variables is changed in some test cases.
Mainul Islam on 7 Jul 2022
Solution CommentsShow comments
Problem Recent Solvers119
Return the largest number that is adjacent to a zero
Given an unsigned integer x, find the largest y by rearranging the bits in x
Back to basics 21 - Matrix replicating
More from this Author40
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!