We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e46ca07 commit b36258cCopy full SHA for b36258c
my-submissions/m1980 oneliner.py
@@ -0,0 +1,3 @@
1
+class Solution:
2
+ def findDifferentBinaryString(self, nums: List[str]) -> str:
3
+ return ''.join(['0' if nums[i][i] == '1' else '1' for i in range(len(nums[0]))])
0 commit comments