top of page
This site was designed with the
.com
website builder. Create your website today.
Start Now
To see this working, head to your live site.
All Posts
My Posts
Solving LeetCode !
Deep glance at solving problems and how one can get them to efficiency
LeetCode
Sort by:
Â
Recent Activity
Follow Category
Create New Post
Lynelle Fernandes
LeetCode 1079 - Letter Tile Possibilities
Recurrsion and BackTracking Reference - https://www.youtube.com/watch?v=-3EwpW5UiVo Code - def dfs(hashset,visited, tiles, sb): hashset.add(sb) for i in range(len(tiles)): if not visited[i]: visited[i] = True sb += tiles[i] dfs(hashset, visited, tiles, sb) visited[i] = False
0 comments
0
Aug 26, 2024
Like
0 comments
Comment
Lynelle Fernandes
LeetCode 2209 - Minimum White Tiles After Covering With Carpets
@cache in python Reference: https://www.youtube.com/watch?v=ccjqyssgz90
0 comments
0
Aug 21, 2024
Like
0 comments
Comment
Lynelle Fernandes
LeetCode 1545 - Find Kth Bit in Nth Binary String
class Solution: def findKthBit(self, n: int, k: int) -> str: dp = ["0"] def rev(val): return val[::-1] def inv(val): res = "" for i in val: if i == "1": res +="0" elif i == "0":
#print(dp)
Â
0 comments
0
Aug 21, 2024
Like
0 comments
Comment
Lynelle Fernandes
LeetCode 1371 - Find the Longest Substring Containing Vowels in Even Counts
This problem dives into bit manipulation Reference : https://www.youtube.com/watch?v=_zJ-AlmKNPE
0 comments
0
Aug 21, 2024
Like
0 comments
Comment
Forum: Forum
bottom of page