File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 23
23
| 53 | [ Maximum SubArray] ( https://leetcode.com/problems/maximum-subarray ) | Easy | [ ![ Java] ( https://img.icons8.com/color/40/000000/java-coffee-cup-logo.png )] ( src/MaximumSubArray.java ) [ ![ Python] ( https://img.icons8.com/color/35/000000/python.png )] ( python/maximum_sum_subarray.py ) |
24
24
| 58 | [ Length of Last Word] ( https://leetcode.com/problems/length-of-last-word ) | Easy | [ ![ Java] ( https://img.icons8.com/color/40/000000/java-coffee-cup-logo.png )] ( src/LengthOfLastWord.java ) [ ![ Python] ( https://img.icons8.com/color/35/000000/python.png )] ( python/length_of_last_word.py ) |
25
25
| 66 | [ Plus One] ( https://leetcode.com/problems/plus-one ) | Easy | [ ![ Java] ( https://img.icons8.com/color/40/000000/java-coffee-cup-logo.png )] ( src/PlusOne.java ) [ ![ Python] ( https://img.icons8.com/color/35/000000/python.png )] ( python/plus_one.py ) |
26
- | 67 | [ Add Binary] ( https://leetcode.com/problems/add-binary ) | Easy | [ ![ Java] ( https://img.icons8.com/color/40/000000/java-coffee-cup-logo.png )] ( src/AddBinary.java ) |
26
+ | 67 | [ Add Binary] ( https://leetcode.com/problems/add-binary ) | Easy | [ ![ Java] ( https://img.icons8.com/color/40/000000/java-coffee-cup-logo.png )] ( src/AddBinary.java ) [ ![ Python ] ( https://img.icons8.com/color/35/000000/python.png )] ( python/add_binary.py ) |
27
27
| 69 | [ Sqrt(x)] ( https://leetcode.com/problems/sqrtx ) | Easy | [ ![ Java] ( https://img.icons8.com/color/40/000000/java-coffee-cup-logo.png )] ( src/Sqrtx.java ) |
28
28
| 70 | [ Climbing Stairs] ( https://leetcode.com/problems/climbing-stairs ) | Easy | [ ![ Java] ( https://img.icons8.com/color/40/000000/java-coffee-cup-logo.png )] ( src/ClimbingStairs.java ) |
29
29
| 83 | [ Remove Duplicates from Sorted List] ( https://leetcode.com/problems/remove-duplicates-from-sorted-list ) | Easy | [ ![ Java] ( https://img.icons8.com/color/40/000000/java-coffee-cup-logo.png )] ( src/RemoveDuplicatesFromSortedList.java ) |
Original file line number Diff line number Diff line change
1
+ class Solution :
2
+ def addBinary (self , a : str , b : str ) -> str :
3
+ return bin (int (a , base = 2 ) + int (b , base = 2 ))[2 :]
4
+
You can’t perform that action at this time.
0 commit comments