mirror of
https://gitlab.com/mfocko/LeetCode.git
synced 2024-11-14 01:49:41 +01:00
3 lines
105 B
C#
3 lines
105 B
C#
public class Solution {
|
|
public int MinBitFlips(int start, int goal) => int.PopCount(start ^ goal);
|
|
}
|