nikunjsoni

1812

Apr 4th, 2021
69
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Solution {
  2. public:
  3.     bool squareIsWhite(string coordinates) {
  4.         return (coordinates[0]+coordinates[1])%2;
  5.     }
  6. };
RAW Paste Data