Hello Pythonistas, welcome back.
Do you like doing things you were asked strictly not to?
Well, today I did. I was solving the Product of Array Except Self problem. And it was clearly written:
- time complexity cannot be more than O(n)
- You cannot use divisibility operation.
Because they are the most brute-force solutions anyone could have that of on the first go.
I had to wait for almost 2 hours or maybe more to reach the solution after extreme hits and trials.
Product of Array Except Self
Later, the next problem too took 2 hours. All in all, it was good enough to turn my hectic day even more crazy.
Today’s Notes. Second question.
Do let me know how did your day go?
See you all tomorrow till then keep coding…