![codeHyena](/img/default-banner.jpg)
- 156
- 3 940
codeHyena
Приєднався 22 лип 2023
Відео
Product of Array Except Self - LeetCode
Переглядів 131День тому
Product of Array Except Self - LeetCode
Evaluate Reverse Polish Notation - LeetCode
Переглядів 3614 днів тому
Evaluate Reverse Polish Notation - LeetCode
Find the Index of the First Occurrence in a String - LeetCode
Переглядів 8221 день тому
Find the Index of the First Occurrence in a String - LeetCode
Construct Binary Tree from Inorder and Postorder Traversal - LeetCode
Переглядів 16Місяць тому
Construct Binary Tree from Inorder and Postorder Traversal - LeetCode
Construct Binary Tree from Preorder and Inorder Traversal - LeetCode
Переглядів 11Місяць тому
Construct Binary Tree from Preorder and Inorder Traversal - LeetCode
Binary Tree Zigzag Level Order Traversal - LeetCode
Переглядів 14Місяць тому
Binary Tree Zigzag Level Order Traversal - LeetCode
Binary Tree Level Order Traversal - LeetCode
Переглядів 13Місяць тому
Binary Tree Level Order Traversal - LeetCode
Average of Levels in Binary Tree - LeetCode
Переглядів 5Місяць тому
Average of Levels in Binary Tree - LeetCode
Copy List with Random Pointer - LeetCode
Переглядів 202 місяці тому
Copy List with Random Pointer - LeetCode
Longest Substring Without Repeating Characters - LeetCode
Переглядів 72 місяці тому
Longest Substring Without Repeating Characters - LeetCode
Lets do peer LC lol
Great, Keep posting the good stuff👍
I was doing the same questions today, and it was on my feed nice.
ans = [1] * len(nums) prod, zero_count = 1, 0 for i in nums: if i != 0: prod *= i else: zero_count += 1 for i in range(len(nums)): ans[i] = 0 if zero_count - (nums[i] == 0) > 0 else prod // (nums[i] if nums[i] != 0 else 1) return ans
Nice. I solved it in a different way
nice
your approach is genius! opened a new perspective for me. thanks so much for sharing!
Hello! try to improve the sound, it's very hard to hear you.
Where would you say is the best place to learn about data structures like this (I've never heard of a trie structure before)
Thank you keep doing
I like how you're targetting all coding platforms, just sort them in a playlist too for the ease of it 👍🏻
Thanks for the explanation. I've got stuck with this * k operation
That's the worst hackerrank exercise i ever did. Zero coding, zero algorithm. This shiuldnt be in hacker rank