leetcode

Solution to some Leetcode problems written in C++
git clone git://git.dimitrijedobrota.com/leetcode.git
Log | Files | Refs | README | LICENSE

2220.cpp (124B)


      1 class Solution {
      2   public:
      3     int minBitFlips(int start, int goal) const { return popcount((unsigned)(start ^ goal)); }
      4 };