Hello guys, cheers to another piece of learning. Today I talked about the "Product of array except self" problem which is the first in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it.
In the above video, I showed all the different logics with which the problem can be solved and also the codes to those logics in Python. Let me know if you got a hold of the logic?
Link to Prefix sum - • Prefix Sum Arrays| Pro...
Link to the problem - leetcode.com/p...
Link to Neetcode 150 - neetcode.io/pr...
Regular updates from me on Discord, Insta and Telegram. I post job notifications of telegram and discord
Insta - / bharathh_chandraa
Telegram - t.me/thebharat...
Discord - / discord
LinkedIn - / lokesh-bharath-chandra...
00:00 - Introduction and Problem Explanation
02:12 - Straight forward approach
05:47 - Brute Force
11:43 - Optimisation
18:59 - Pseudocode
21:16 - Bonus question
28:16 - Conclusion
17 авг 2024