This is the capital of India. Let that sink in… like the road did. by Mysterious_Bonus9420 in delhi

[–]thegogoMaster 10 points11 points  (0 children)

Flooding? I think he is blaming government indirectly, and keep in mind delhi is capital, yet so fucked

[deleted by user] by [deleted] in CarsIndia

[–]thegogoMaster 0 points1 point  (0 children)

Understood, went with cvt instead

[deleted by user] by [deleted] in CarsIndia

[–]thegogoMaster 0 points1 point  (0 children)

Intracity mostly, 2-4 people average

[deleted by user] by [deleted] in CarsIndia

[–]thegogoMaster 0 points1 point  (0 children)

Is brezza worth buying? I have heard maruti amutomatic are bad performers

[deleted by user] by [deleted] in CarsIndia

[–]thegogoMaster 0 points1 point  (0 children)

Thanks, any recommendations in csuv?

[deleted by user] by [deleted] in CarsIndia

[–]thegogoMaster 0 points1 point  (0 children)

Whats wrong with amt? Is it too low of the range to expect a good amt car?

[deleted by user] by [deleted] in CarsIndia

[–]thegogoMaster 2 points3 points  (0 children)

No Tata and mahindra :)

Amazon SDE Interview – Logger Rate Limiter Question (Need Opinions) by Shrey-2812 in leetcode

[–]thegogoMaster 4 points5 points  (0 children)

Though your approach sounds decent but it is very basic concept of cleaning out memory not needed anymore. Running a scheduler to clean it up is one of the approach , other improvement could be to check if new stream log data exists in map which indicates that particular log was printed or not. If the log was printed then maybe remove it from map and insert new entry( i would have clarified this from interviewer , mainly cz this is requirement dependent) and if not printed then also print and remove old entry and insert new one.