LEETCODE : BITWISE AND OF NUMBER RANGE [ 5 LINES OF CODE WITH EXPLANATION ]

preview_player
Показать описание
Given a range [m, n], return the bitwise AND of all numbers in this range, inclusive.
I have done it using the left and right shift operators.
Рекомендации по теме