☑️ Finding Number of Bit Changes to Make Two Integers Equal ☑️
Code
# Code
```dart []
class Solution {
  int minChanges(int n, int k) {
    List<String> list = n.toRadixString(2).split("");
    String conv2 = k.toRadixString(2).padLeft(list.length, '0');

    int count = 0;
    
    if(list.join() == conv2){
        return count;
    }

    for(int i = 0; i < list.length; i++){
        if(conv2[i] != list[i] && list[i] == "1" && conv2[i] == "0"){
            list[i] = "0";
            count++;
            if(list.join() == conv2){
                return count;
            }
        }
    }

    return -1;
  }
}
```
['Bit Manipulation', 'Dart']