Skip to content

Instantly share code, notes, and snippets.

View AdelBeit's full-sized avatar

Adele Beitvashahi AdelBeit

View GitHub Profile
#
# @lc app=leetcode id=22 lang=python3
#
# [22] Generate Parentheses
#
from typing import List
# @lc code=start
class Solution:
#
# @lc app=leetcode id=17 lang=python3
#
# [17] Letter Combinations of a Phone Number
#
from typing import List
# @lc code=start
class Solution:
#
# @lc app=leetcode id=40 lang=python3
#
# [40] Combination Sum II
#
from typing import List
from collections import Counter
# @lc code=start
#
# @lc app=leetcode id=39 lang=python3
#
# [39] Combination Sum
#
from typing import List
# @lc code=start
class Solution:
#
# @lc app=leetcode id=47 lang=python3
#
# [47] Permutations II
#
from typing import List
# @lc code=start
class Solution:
#
# @lc app=leetcode id=90 lang=python3
#
# [90] Subsets II
#
from typing import List
# @lc code=start
class Solution:
#
# @lc app=leetcode id=78 lang=python3
#
# [78] Subsets
#
from typing import List
# @lc code=start
class Solution:
#
# @lc app=leetcode id=797 lang=python3
#
# [797] All Paths From Source to Target
#
from typing import List
# @lc code=start
class Solution:
#
# @lc app=leetcode id=130 lang=python3
#
# [130] Surrounded Regions
#
from doctest import DocFileTest
from typing import List
# @lc code=start
#
# @lc app=leetcode id=1091 lang=python3
#
# [1091] Shortest Path in Binary Matrix
#
from typing import List
# @lc code=start
class Solution: