Skip to content

Commit b36258c

Browse files
committed
dialy
1 parent e46ca07 commit b36258c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

my-submissions/m1980 oneliner.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)