class Solution { public: int minDominoRotations(vector& A, vector& B) { int res = A.size(); vector countA(7), countB(7), same(7); for (int i=0; i