#include <iostream>
using namespace std;
int main()
{
// Bitwise Operators
// Predict output of ~4
cout << (~4) << endl;
// Predict output of 8 >> 1
cout << (8 >> 1) << endl;
return 0;
}
class Solution { public int [] countOppositeParity ( int [] nums ) { // approach 1 - checks every pair int n = n...
No comments:
Post a Comment